Checking for existence of URL in PHP

sharpiee2

New Member
If I display a URL link in PHP, is there any way to check for validity after the user click so as to display the user a nice custom message that the URL is broken or something like that?I do not mean an error 404 page. I guess error 404 is only for internal website pages but not external links. Please correct me if I am wrong.
 
Back
Top