Need help with "report broken link" button (urgent)

ugarkugar

Newbie
Joined
Aug 16, 2011
Messages
12
Reaction score
0
Hi i have been searching the web for a php or html script wich will create a button that when a user clicks it, a report is send to my email with the url where the button was clicked.

Please help this is urgent.

I have been searching for this for 2 weeks and trying diferent scripts and nothing works.

Please post a reply in html or php code if you know the answer.
 
Last edited:
Hi i have been searching the web for a php or html script wich will create a button that when a user clicks it, a report is send to my email with the url where the button was clicked.

Please help this is urgent.

I have been searching for this for 2 weeks and trying diferent scripts and nothing works.

Please post a reply in html or php code if you know the answer.

If you're using apache, research using your .htaccess file to set up a custom 404 error not found page (for instance, error.php). Stick an email script in that error.php file that reads the $_SERVER["REQUEST_URI"] variable (which contains the current URL) and emails it to you.

That way a user won't have to click a button to report a URL not found error, you will get it automatically.
 
That way a user won't have to click a button to report a URL not found error, you will get it automatically.


The problem is that all the links are external and i can not keep track of them
 
i don't know if it may help you or not , but i used such thing BUT in WORDPRESS

Code:
http://wordpress.org/extend/plugins/wp-reportpost/

Simple but powerful plugin to help your website keeping clean and simple. This plugin allows visitors to report posts / pages for broken links, misleading / abusive contents, copyrights infringements and etc simply and fast.
You have the full control on what to be reported and the areas to be reported. Once installed and activated, you will have the full control over where to display and what to display.
 
Back
Top