2006-09-12

Error page / report

Custom error page / report
This custom error page shows some standard error information and reports the error to the webmaster by e-mail. The script works for dead links and will report expired hot links from other sites (the IP address). Just add bad URL's and IP addresses into a text file to get the errors only once.
URL / domain name splitter
There is no standard PHP function to extract the tld from an URL, parsing an URL with parse_url() will return the hostname and other URL information. If you need only the tld, for example to query the whois data of a given domain name, the following script should be usefull. To run this script you need a database with all tld's. Check the support link to the right and join the forum to get the database dump.
FXLake effect

Brak komentarzy: