http://www.php.net/manual/en/function.is-uploaded-file.php

"César aracena" <[EMAIL PROTECTED]> wrote in message
000901c21b5a$e1aea180$cdc405c8@gateway">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:[EMAIL PROTECTED]> Cesar Aracena
CE / MCSE+I
Neuquen, Argentina
+54.299.6356688
+54.299.4466621





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to