ID:               16640
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Verified
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: i686-pc-linux-gnu
 PHP Version:      4.0CVS-2002-04-1
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-07-05 14:14:18] [EMAIL PROTECTED]

The error values given in the $_FILES array should also
be documented.

------------------------------------------------------------------------

[2002-04-16 13:33:02] [EMAIL PROTECTED]

This warning is generated BEFORE your scripts executes, and therefor
your error handler isn't initialized yet.

Reclassified as a documentation problem.

------------------------------------------------------------------------

[2002-04-16 13:16:40] [EMAIL PROTECTED]

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

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16640&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to