Site Map Script - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: Site Map Script (/showthread.php?tid=2697) |
Site Map Script - zone - 11-08-2009 PHP Site Map Script This PHP script generates a list of hyperlinks to all the webpages found below the base directory. The title of each page is extracted for use as the anchor text of the hyperlink. Different formatting styles are easily applied to each directory level such as an indent and font size. After running the script you can shuffle the links around and delete those you don't want. If you don't want the <li> element to be used, you could replace this with <div> in the code. Note that this code is for a complete web page so save it as site-mapper.php or similar. You need PHP installed on your web hosting for it to work. View the source of the page to get the code that is produced. PHP Code: <html> Credits and Source: http://www.urgentclick.com/scripts/php-site-map-script.html Thankyou for reading |