Re: URGENT!!! File Uplaod

From: Date: Mon, 24 Jun 2002 08:45:32 +0000
Subject: Re: URGENT!!! File Uplaod
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103546@lists.php.net to get a copy of this message
http://www.php.net/manual/en/function.is-uploaded-file.php "César aracena" <icaam@icaam.com.ar> wrote in message news:000901c21b5a$e1aea180$cdc405c8@gateway... 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 (#103546) next »