Re: File upload issue

From: Date: Sat, 29 Nov 2003 07:34:35 +0000
Subject: Re: File upload issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171346@lists.php.net to get a copy of this message
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. | `------------------------------------------------------------'

« previous php.general (#171346) next »