jason213123 Posted July 21, 2010 Share Posted July 21, 2010 hi, sometimes when i run a script i receive this error: Fatal error: Allowed memory size i need to send a alert some like this: echo "<script> alert ( ' '); <script>"; when a error is detected there is a error handler in php? something like this: on error goto x thanks a lot for your help Quote Link to comment Share on other sites More sharing options...
Mchl Posted July 21, 2010 Share Posted July 21, 2010 It's a fatal error and therefore not catchable. You can set your own error handler, but fatal errors do not trigger it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.