RE: [PHP-DB] File input from form not detected
| From: | Hutchins, Richard | Date: | Fri, 30 May 2003 13:25:38 +0000 |
| Subject: | RE: [PHP-DB] File input from form not detected | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28163@lists.php.net to get a copy of this message | ||
If I understand your post and desired outcome correctly, I think the problem
would lie in the upload.php file. You may need to post the code from that
file for anybody to really help you out.
Rich
> -----Original Message-----
> From: Dewi Wahyuni [mailto:xueh@lycos.com]
> Sent: Friday, May 30, 2003 9:17 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] File input from form not detected
>
>
>
> 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
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>