Re: File Upload problem

From: Date: Tue, 12 Nov 2002 23:45:53 +0000
Subject: Re: File Upload problem
Groups: php.general 
Request: Send a blank email to php-general+get-124099@lists.php.net to get a copy of this message
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/

« previous php.general (#124099) next »