Re: PHP 4.1.2 ignores ini-set on max_upload_filesize

From: Date: Mon, 27 May 2002 20:59:42 +0000
Subject: Re: PHP 4.1.2 ignores ini-set on max_upload_filesize
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99398@lists.php.net to get a copy of this message
You cannot change the upload limit in your script because the file upload happens before your script is executed. You need to set it in your php.ini, httpd.conf or .htaccess -Rasmus On Mon, 27 May 2002, DevilKin wrote: > Hello, > > As stated in the topic: PHP 4.1.2 balantly ignores max_upload_filesize > paramter. I've been trying - without solution - to get php 4.1.2 (compiled as > module for apache 1.3.xx) to accept a file upload (via post) of more than 2 > mb. Files <= 2mb work great, but when I go above this php returns > is_uploaded_file() with false, even tho the file is correct. It also doesn't > seem to be saved correctly. > > I am not using ANY ini-file, but I've been able to reproduce this behaviour > with an ini file (on a different system, same php/apache versions) > > Is there something I'm missing here? > > Thanks! > > DK > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#99398) next »