View Single Post
Old 08-31-07, 11:56 AM   #13
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: Detecting Bad Links

Quote:
Originally Posted by radekhulan
Sure. And the best way to do it, if he has PHP/MySQL, is to check the page before it is outputed to the client, once in a week (per page / link) or so.. Even if it must be done via JavaScript (very silly, what about search engines and people with JS off?), the best would be to issue XMLHttpRequest, process URL on the server (cache results), and return back the result.
Please carefully re-read his posts. And allow_url_fopen is a security concern.

Quote:
Originally Posted by fivefeet8
There's a link that the server will never be able to reach, but the client can depending on where they are connected to the internet.
Quote:
Originally Posted by fivefeet8
I need is a way to detect non working links on the client side.
evilghost is offline   Reply With Quote