NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Mail on 404
26138 Mail on 404 http://www.haroldbakker.com/php/404.php The little snippet of PHPcode below will send an email to you every time a document is requested that is no longer there. This will allow you to track where outdated links are, giving you the possibility of taking action. Just make a custom error page in normal HTML and put the php snippet at the top. PHP > Tips and Tutorials > Error Handling Oct 15, 2006 Harold Bakker

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Mail on 404:


Other links at PHP > Tips and Tutorials > Error Handling
The little snippet of PHPcode below will send an email to you every time a document is requested that is no longer there. This will allow you to track where outdated links are, giving you the possibility of taking action. Just make a custom error page in normal HTML and put the php snippet at the top.
Category:

This tutorial allows you (the site owner) to be notified whenever an error such as a 404 (File Not Found) error occurs.

This will work for all InfernoHost customers. If you aren't an InfernoHost customer, this will only work on an Apache web server that allows .htaccess (most do allow this). Also your web server must have PHP installed.
Category:

Here's a simple attempt at a solution using just PHP. I don't pretend that it makes a complete success of extracting the text from all Word documents, but I've found it very reliable for the vast majority of the several thousand docs I've used it with. The function returns text from the Word document as a string, with all the formatting removed. Please note that some parts of the Word document (header, footer etc) are not parsed.
Category:




Main Category
194
2041
824
286
175
1802
1238
913
1163
7489
70
909
59
2222
174

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19538
Categories: 1275
Registered Users: 750
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227867

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
253 site(s)
PR 6
769 site(s)
PR 5
1891 site(s)

PHP News