I'll submit a bug report, sorta forgot to initialize that step ;) Here's a related post: http://marc.theaimsgroup.com/?l=php-dev&m=101198971703359
-philip On Wed, 12 Jun 2002, Jesus M. Castagnetto wrote: > BTW, this *has* been brought up before by Philip on > php-dev (an perhaps here too). > > The net result has been: nada > > The source still has the incorrect signatures. If you > (Gabor) have more clout, perhaps you can nudge the > repective module maintainers to fix that. > > This should be reclassigied and reopened as a PHP bug > (not a doc bug). > > > --- [EMAIL PROTECTED] wrote: > > ID: 17707 > > Updated by: [EMAIL PROTECTED] > > Reported By: [EMAIL PROTECTED] > > Status: Bogus > > Bug Type: Documentation problem > > Operating System: linux 7.1 > > PHP Version: 4.1.2 > > New Comment: > > > > So then the sources should be corrected. Goba > > > > > > Previous Comments: > > > ------------------------------------------------------------------------ > > > > [2002-06-12 14:12:12] [EMAIL PROTECTED] > > > > On a related note, the ini_set() configuration > > options table is > > autogenerated from the PHP source. Sometimes they > > are generated > > "wrongly" as the PHP source (main.c) lists > > questionable values. For > > example, magic_quotes_gpc shows PHP_INI_ALL when in > > the real-world this > > isn't the case. > > > > > ------------------------------------------------------------------------ > > > > [2002-06-12 09:58:56] [EMAIL PROTECTED] > > > > Will check with .htaccess (thanx 4 the swift reply) > > > > > ------------------------------------------------------------------------ > > > > [2002-06-11 13:35:28] [EMAIL PROTECTED] > > > > The settings will be changed if you're using > > ini_set() but as the > > uploaded file will be accepted BEFORE your script > > runs, this stuff has > > no effect. Same applies for post_max_size and a > > couple of other > > settings. > > > > > ------------------------------------------------------------------------ > > > > [2002-06-11 12:31:57] [EMAIL PROTECTED] > > > > Hello great PHP, > > > > i stumble over and over on 'upload_max_filesize' > > > ini_set('upload_max_filesize','8M'); > > > var_dump( ini_get('upload_max_filesize') ); > > > > this returns a nice string(2) "8M", but if you do > > a var_dump($HTTP_POST_FILES) after uploading > > a 3MB movie it returns: > > > > > array(1) { ["ufile"]=> > > > array(4) { ["name"]=> string(19) "PN.mpg" > > > ["type"]=> string(10) "video/mpeg" > > > ["tmp_name"]=> string(4) "none" > > > ["size"]=> int(0) > > > } > > > } > > > > ONLY if you change upload_max_filesize in php.ini > > then > > will it listen to the correct size.... > > > > ini_set() function documention says... > > 'Returns the old value on success, FALSE on > > failure.' > > > > this means that ini_set() should return FALSE if you > > cannot set upload_max_filesize in your script OR > > that > > the max-upload-size should be set to the new value > > and > > accepted. at the moment this is very confusing > > because > > it returns the old value. Even init_get() returns > > the newly > > set value. In the end upload_m-fsize is as set in > > the ini > > file. > > > > Tr909 > > > > > > > ------------------------------------------------------------------------ > > > > > > -- > > Edit this bug report at > > http://bugs.php.net/?id=17707&edit=1 > > > > > ===== > --- Jesus M. Castagnetto <[EMAIL PROTECTED]> > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com >