|
Posted by lister on 05/27/07 17:36
> Do you have error_reporting set to E_ALL? Are there any errors in the Apache
> log? (in case PHP's done something unusual - although it doesn't sound like
> it's dumping core). What version of PHP?
> --
> Andy Hassall :: a...@andyh.co.uk ::http://www.andyh.co.ukhttp://www.andyhsoftware.co.uk/space:: disk and FTP usage analysis tool- Hide
Thanks for your pointers. Yes, I have E_ALL reporting on. On looking
in the Apache error log I found I was getting a error about exceeding
post_max_size on the ones that fail, but bizarrely not on the ones
that work, but yet those are larger!! I can only assume there is some
bug in PHP when checking post_max_size because the large ones that
work are VERY large (2GB) (post_max_size is set to 2M)
OK, so checking the PHP site reveals that what I am experiencing seems
to be correct:
"If the size of post data is greater than post_max_size, the $_POST
and $_FILES superglobals are empty. This can be tracked in various
ways, e.g. by passing the $_GET variable to the script processing the
data, i.e. <form action="edit.php?processed=1">, and then checking if
$_GET['processed'] is set."
Thanks again for your help.
Navigation:
[Reply to this message]
|