Excercise: Image upload to URL

• Program an application that uploads an image to a URL.

1. import httplib, urllib,string

2. read the content of a directory that includes images on the phone and display it as a selectionlist on the screen

3. select an image from the list and upload this image to a url

 

 

 

Example file: ex_image_upload.py

Description: ex_image_upload_descr.py (not yet available)

 

Example php file : image_upload_to_url.php

 

Resulting test url: http://www.mobilenin.com/pys60/php/beijing/

more about php at Ayman's, my friends site: http://aymanshamma.googlepages.com/httppostfrompys60tophp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Previous | Next | Menu     Copyright (c) 2006 Jurgen Scheible