i am 100% it will be done in Php but how ? i have no idea ... please guide me step by step script structure : a little program that send a mail to admin that link is broken , abuse article or something wrong help required : 1 - a php code that detect page location like e.g this thread location is http://forums.digitalpoint.com/showthread.php?t=949982 check box's : broken link [ ] - abuse article [ ] - something wrong[ ] [send] when user click on send button it will automatic send e-mail to admin with following detail . page location - error detail like broken link , abuse article or something wrong .whatever user select because i want paste this code in my every page of site Thanks a bunch
idea is onclick the page link it will goes to one php file that will check the page is broken or not (its simple) if it is broken send mail to admin or prepare mail, and redirect to the site home/sitemap page, else redirect the proper page.
your idea is right ... but it is not that i want ... i am not talking about broken page ... i am talking about links that are used in article like download files etc...
create a new page call it check_link.php copy and paste this code to the page then create a herf for this page this way <a href="check_link.php?check_link=the-link-you-wanna-check-here">Report broken link</a> this script is not tested i just write it so fast this script will not send you report only if the link is broken