Made by: Nadir Latif (firstname.lastname@example.org)
Dependencies: Uses HTTP protocol client by Manuel Lemos and OverallTagView by Dror Golan available at phpclasses.
This script displays the url of all pages of a website (on which the script is run) that contain deadlinks. For each dead link it displays the page url and the dead link url.
-Place the database connection information in get_missing_pages.php.
-Comment out the line $this->CheckCMSFiles(); if you only want to check physical pages.
-Comment out the line $this->CheckPhysicalFiles(); if you only want to check database pages. In the same file mention the name of the table and field where the pages in your database are located. This information is required in IsLinkValid($url) and CheckCMSFiles().
-Copy the files to the directory of a web server and run index.php.
2) What does this sctipt do?
3)List of files:
a)index.php (initial file)
b)get_missing_pages.php (main program file)
c)backup.csv (contains list of urls on some backup folder)
d)mysql.php,query_builder.php (provide database functions)
e)htaccess.txt (main htacess file of server)
f)get_page.php (used to retrived the status code of a page)
g)readme.txt (help file)
h)http.php (contains the http functions)
i)TagView.class.php (contains function for extracting tags from html pages)
-Feel free to contact me for any assistance regarding this script.