You upload pictures just like you do any other file. This is done through a file input field (<input type="file" name="userfile"> or something similar).
When this is submitted, several things are sent along with the file. These things are mimetype, or type of the file, and filename as it was on the user's computer. These can be accessed by "type" and "name," respectively.
Assuming you have register globals on, these can be accessed as $userfile_type and $userfile_name using the example above.
If you have register globals off, these must be accessed through $FILES[], a global array of file data sent (this is similar to $POST and $GET). Using the latter example, the better practice, use this to retrieve file data:
$FILES["userfile"]["name"] // The name, as set by user
$FILES["userfile"]["type"] // The mimetype, as set by user
$FILES["userfile"]["tmp_name"] // Temporary name of file, set by server
$FILES["userfile"]["size"] // Size of file, set by server
$FILES["userfile"]["error"] // An error, if there was one. PHP 4.2.0+
Hope this helps.