|
Posted by Philip Olson on 04/22/05 22:33
> 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.
Because you have two different versions of PHP installed. In
otherwords, the CGI version and most likely the module
version.
Now to answer your question, here's a quote from the
PHP Manual:
Note: Prior to PHP 4.3.0, $_FILES information was
also included in $_REQUEST.
So, $_FILES is no longer part of $_REQUEST.
Regards,
Philip
http://php.net/manual/en/reserved.variables.php#reserved.variables.request
Navigation:
[Reply to this message]
|