views:

29

answers:

1

I've been a .Net developer and a Java developer and TBH I liked .Net more when it comes to web (Except that I had to use IIS). Recently I've learned php (Amazingly simple) but I was wondering if in php you could do something like the Global.asax in .Net. I'm just looking for someway to mimic the Application_Error event. Does anyone know of someway to do this?

+1  A: 

I think the following are closest to what you want:

ars
This is great. Thanks
ComputerJy