RE: [PHP] File upload issue

From: Bronislav Klucka (Bronislav.Klucka_at_pro2-soft.com)
Date: 11/29/03


To: "PHP Konference" <php-general@lists.php.net>, "Binay" <binay@oliveinternet.com>
Date: Sat, 29 Nov 2003 08:38:33 +0100

Are u working in safe mode? What does the ini_set function return? did u try
ini_get then to see what is current value?

Brona

> 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.
>
> Thanks in advance
>
> Binay
>


Quantcast