Re: [PHP] File upload issue

From: Robert Cummings (robert_at_interjinn.com)
Date: 11/29/03


To: Binay <binay@oliveinternet.com>
Date: 29 Nov 2003 02:34:35 -0500

On Sat, 2003-11-29 at 02:36, Binay wrote:
> Hi all,
>
> In my php.ini file, file_uploads value is set to OFF. Hence stopping HTTP_UPLOAD functionlaity.
>
> But in my script i am turning it On using ini_set("file_uploads","1") but still it doesn't upload the file.
>
> I don have access to modify the php.ini file hence trying to play with script only.
>
> Though manual says u can't set the value of file_uploads in the script, but its getting set (looked in phpinfo()).
>
> Why this is happening ... and if it is getting set why HTTP_UPLOAD doesn't work.

If the docs say it doesn't work then it probably doesn't work. Chances
are it's being set in the PHP code when you use ini_set() but not in
PHP's core where it counts.

Cheers,
Rob.

-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

Quantcast