File input from form not detected
| From: | Dewi Wahyuni | Date: | Fri, 30 May 2003 13:16:33 +0000 |
| Subject: | File input from form not detected | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28160@lists.php.net to get a copy of this message | ||
Hi, following my earlier post
My input file from form in eg upload.html was not detected in the upload.php (handler)
The example can be seen in http://www.busybees.com.my/tryout/upload.html
I tried uploading using the <input type=file name=userfile>
which is supposed to be captured by the php as $userfile (as far as I know) but whenever I put
if($userfile) it fails. BUT $userfile_name is able to display the filename .
With print_f($HTTP_POST_VARS) also the userfile was not displayed, only other input element which is
Maximum file size is displayed
My register_globals is 'on' as you can see if you try the example in the above url. I have
given the phpinfo() in upload.php
I can handle all other data from forms except files.
Please help
THank you
Dewi
____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005