Jump to content

run php script when error


essjay_d12

Recommended Posts

I want a php script to run when an error occurs (deadlink - file does not exist).....

 

say a user clicks on a hyperlink within a .html file - which is a dead link. If it is a deadlink then I want a bit of code to run (the code will redirect the user to the correct page)

 

Is this possible?

 

Cheers

 

d

Link to comment
https://forums.phpfreaks.com/topic/51303-run-php-script-when-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.