|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-16 13:33 UTC] sander@php.net
[2002-07-05 14:14 UTC] sniper@php.net
[2002-07-07 14:26 UTC] jan@php.net
[2020-02-07 06:12 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
Hi, in the documentation to set_error_handler() is declared that an own error handler "completely bypassed" the php error functions. But if i limit the post upload size with post_max_size and post a file with a bigger size as the limit, php results a warning like 'Warning: POST Content-Length of 8796223 bytes exceeds the limit of 8388608 bytes in Unknown on line 0' and the error handler is not affected!!! Is this an error by design, because the script is in this case not affected and not executed? Here a test script: ---snip--- <?php function my_error_handler ($errno, $errstr, $errfile, $errline) { echo "error handler call"; } set_error_handler('my_error_handler'); ?> <hr>Upload Test Form <form name="uploadform" enctype="multipart/form-data" method="post" action="error_handler_test.php"> <input type=file name="checkfile" size=50 accept="text/html"> <input type="submit" value="upload"> </form> ---snap--- Regards, Steve