Browse a Listing
Top > PHP > Tips and Tutorials > Error Handling
Popular Tags
Free Script links
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:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Oct 15, 2006 Hits: 7 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR
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:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Oct 15, 2006 Hits: 1 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR
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:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Oct 15, 2006 Hits: 3 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR