Location: PHPKode > scripts > No404s > readme_no404s.txt
# No404s 2.0.1
# Copyright 2006-2008 Gabrielle All Rights Reserved.
# No404s may be used and modified free of charge by anyone so long as this copyright notice and 
# the comments above remain intact. An e-mail to hide@address.com is appreciated. By using this code you agree 
# to indemnify Gabrielle from any liability that might arise from its use.
# Selling the code for this program without prior written consent is expressly forbidden. In other words, 
# please ask first before you try and make money off of the script.
# Obtain permission before redistributing this software over the Internet or in any other medium. In all cases 
# copyright and header must remain intact.


No404s is a PHP script designed to help you find broken or moved links on your site or your link pages. What makes
it different from other link checkers is that the title obtained from checked site is displayed (useful for
finding expired domains that give no other discernable error). At the end an overview of the checked links is
given and links are displayed by code (200, 404, etc.).


PHP (version 4.4.0 or higher) 
mySQL (version 4.1.0 or higher)


- looks for the title of the checked site and cleans it before displaying
- ability to configure how deep into the site the link checker looks
- ability to configure the seconds before timeout (so that it doesn't 'hang' on a dead link)
- overview given at the end of the script
- overview is divided into error codes with appropriate links displayed under their error code
- saves links into a database for easy pagination (a manageable amount of links per page)
- saves amount of times a link has gotten an error which will display when the same link is checked again
- deletes saved links after a specified amount of days
- makes use of CURL if available
- parses relative links (e.g. <a href="/myfolder/yes.html">yes</a>)
- allows user to limit links checked to a single domain or sub-directory
- allows user to limit link checking to the HTTP code only instead of getting the HTTP code and the title.


1. Unzip the package into an empty directory.
2. Configure the config.inc.php file.
3. It's encouraged to password protect the directory in which No404s is located by .htaccess or Cpanel.
4. Navigate to the location of your No404s directory in your browser and go to install.php.
5. Delete install.php after the table is installed.
4. Go to index.php in your No404s directory and enter the link you want checked and use the options below
   the input field if necessary.
UPGRADE 2.0 to 2.0.1:
1. Unzip the upgrade zip into an empty directory.
2. Upload the new files (I18N_UnicodeString.php, index.php, ez_sql_mysql.php) over the old files on your server.


$howfast  - how long before timeout when looking at a link
$howlook  - how 'deep' into the site to look by bytes
$gettitle - if you want to get the title of the page or not
$days	  - how many days you want the links to remain in the mySQL database
$siteself - if you want to limit link checking to links on the domain or subdomain
$number   - the number of links checked per page


VERSION 2.0 TO 2.0.1

- Added support for mbstring for some (nowhere near all) East Asian languages.
- Added basic filter for image files (removes them from results).
- Removed need for Pear.php error functions (this will fix the errors that would pop up when it came
  across deformed characters.
- Fixed wordwrap so that it does not cut off mid html entity, giving broken site titles.
- Fixed some of the issues with non-Latin characters in site titles.
- Fixed bug with https:// urls.

VERSION 1.0 TO 2.0

- Added use of mySQL to store links.
- Added pagination to limit amount of links per page.
- Added ability to limit link checking to links located on the domain or subdomain.
- Added ability to limit link checking to the HTTP code only instead of getting the HTTP code and the title.
- Added parsing of relative links.
- Added ability to store links for a specified amount of days.
- Added storage of amount of times a link has gotten an error.
- Added use of CURL if it is available.


Gabrielle from ishallnotcare.org created No404s.
Return current item: No404s