RE: [PHP] image_type

From: Date: Thu, 31 Mar 2005 07:09:44 +0000
Subject: RE: [PHP] image_type
Groups: php.general 
Request: Send a blank email to php-general+get-211939@lists.php.net to get a copy of this message
> -----Original Message----- > From: William Stokes [mailto:kalles@operamail.com] > Sent: Thursday, March 31, 2005 8:58 AM > I was under impression that php automatically gives values to image_type > and image_name if one tries to upload image from a web form if the name > of the uploaded image field is image. > > If I do this I can see that there is a path for the uploaded image in a > variable but the echo won't print anything. Where I am mistaken here? > > var_dump($_GET); > echo $image_name; You´re all wrong here... Have a look at http://dk.php.net/manual/en/features.file-upload.php -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/systemdeveloper

« previous php.general (#211939) next »