Alex Rivera | Logout

How to disable ctrl-z, ctrl-c from breaking out of a php script

Asked 2010-05-05T14:57:36.473
21

Can someone point me in the correct direction for researching how to prevent users from breaking out of a php script with Ctrl+Z, Ctrl+C?

Edit
Report

1 Answer

-2

If feasible, you can wrap the main loop in a try-catch block, and squash the Abort/Interrupt exception (not sure the exact one, sorry, my PHP is a bit rusty)

answered 2010-05-05T15:17:45.020

Your Answer