I want to know the Page not found URL's of my site (is there any broken links in my site, i want to rectify it), which is to be visited by users, before showing/redirecting to the 404 custom page.
For that, i want to write some php script, to get the
$SERVER['HTTPREFERER'] and mail it to me.
But it is not working properly.
Can any one solve this problem...