URGENT!!! File Uplaod

From: Date: Mon, 24 Jun 2002 08:40:58 +0000
Subject: URGENT!!! File Uplaod
Groups: php.general 
Request: Send a blank email to php-general+get-103544@lists.php.net to get a copy of this message
Hi all. Sorry for this, but a couple of hours ago (imagine… Monday at 3 in the morning) one of my clients called and asked me to put a Photography upload for each member of his business and the dead line is in 2 hours. I’ve been messing around for the first time with file uploading, but it seems I keep doing something wrong. I’m using: <form action="../../phpinfo.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="1000"> <input type="hidden" name="numsocio" value="<?=$numsocio?>"> <input type="hidden" name="browse" value="yes"> Select Photography: <input name="userfile" type="file"> <input type="submit" name="submit" value="Add Photo"> </form> but phpinfo tells me (Under HTTP_POST_FILES["userfile"]): Array ( [name] => picture.jpg [type] => image/pjpeg [tmp_name] => none [size] => 0 ) Why is this??? Also, this is going to be the first time I deal with file managing… so if you please throw some bones at me… Thanks very3 much… I’m on dial-up but will stay connected though. <mailto:webmaster@icaam.com.ar> Cesar Aracena CE / MCSE+I Neuquen, Argentina +54.299.6356688 +54.299.4466621

« previous php.general (#103544) next »