Home     PHP / Javascript / Ajax
PHP Links2Lower Script

PHP Script Codes > link-checking

Links2Lower Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 375

PHP Script Codes > Links2Lower
Links2Lower is a small PHP CLI script that recursively renames all files and folders in the path argument to lowercase, and searches for HTML files and lowercases any URL's within them.

This is useful for HTML documentation (or sites) created in Windows where there has been disregard for the case-sensitivity of the URLs, making hyperlinked documentation unusable on a case-sensitive system like Linux. (Open University HTML documentation being a guilty party).

Call the script and provide the path to the directory of the HTML documentation to work on.

E.g.
php links2lower.php /home/anuser/docs/