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

 ID:                 54948
 Comment by:         giorgio dot liscio at email dot it
 Reported by:        giorgio dot liscio at email dot it
 Summary:            provide functions to handle gracefully requests
                     error
 Status:             Feedback
 Type:               Feature/Change Request
 Package:            *Web Server problem
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

set_error_handler is set in the user space



so AFTER errors related to



max_file_uploads

post_max_size

max_input_time [?]



are thrown


Previous Comments:
------------------------------------------------------------------------
[2011-05-29 14:33:15] bj...@php.net

You can register your own custom error handler to deal with those (see 

set_error_handler()).



Unsure what else you are asking for.. A specific callback function when
ini 

settings cause errors? Doesn't make sense to me..

------------------------------------------------------------------------
[2011-05-28 20:21:52] giorgio dot liscio at email dot it

Description:
------------
hi, it is needed [a function|| a set of functions] that allows to
execute code when http request errors are thrown during the "startup"
time



for example if a post request breaks the post_max_size directive, in the
user space i can't handle it, unless using error_get_last() that i will
need parse to identify the problem ( and i can parse only the last one
)



affected directives are, probably:



max_file_uploads

post_max_size

max_input_time [?]



thank you in advance



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



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

Reply via email to