On Thu, April 21, 2005 12:48 pm, Srinadh Sannidhanam said:
> Hi
>   When I use $_REQUEST for accessing files uploaded, it is working
> fine in PHP PHP 4.3.10.
>  But it is not working in PHP 4.3.4.
>  $_FILES working in both the versions. Can I use $_REQUEST in PHP
> 4.3.10 also? Do I need to change any configuration in php.ini?
> server is Apache/2.0.49
> Please help me in this regard.

When $_REQUEST doesn't seem to work with file uploads, it almost always,
in my experience, means I forgot the ENCTYPE="multipart/form-data" on the
FORM tag.

D'oh!

I did that several times, over the years, before it became a habit to type
it for file uploads.

YMMV

-- 
Like Music?
http://l-i-e.com/artists.htm

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

Reply via email to