Hi,
Thanks for the reponse. I tested again, but it was not the problem
with ENCTYPE. I am getting file with $_FILES. I think this is due to
CGI configuration if not with php.ini. Because when I check the
version by using "PHP -v" command, it shows "4.3.10 (cgi)" but when
check that using phpinfo() function, it is showing as PHP 4.2.2. Why
the difference? I am working in that view to find the solution.
Currently I got a temporary solution. I am jsut copying from $_FILES
to $_REQUEST at the very begining of the script. Because I can't
change all the scripts now.

Thanks,
S.Srinadh.

On 4/22/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
> 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