At 00:25 13.11.2002, Van Andel, Robert said:
--------------------[snip]--------------------
><FORM action="<? echo $PHP_SELF; ?>" method=post
>encType=multipart/form-data><INPUT type=hidden value=20000
>name=MAX_FILE_SIZE>
><INPUT type=file name=users_file><BR><INPUT type=submit value=Upload!>
></FORM><?PHP
> }
>?>
>When I submit the form at the bottom of the script, the $user_file variable
>equals "none". I am unable to figure out what is going on. The variable
>$users_file_name lists the file's name, but the $user_file is none and the
>$user_file_size =0.
>
>Why is $user_file equal to none? Any help will be greatly appreciated.
--------------------[snip]--------------------
Try to use the name $users_file and $users_file_size (note the 's' after user).
Just in case that was no typo in your message...
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php