This is a very short script that will set a time to two variables and then subtract them to recieve the difference, or the timer. For it's original concept, it will display "This page was rendered in a mere X.XXXXXX seconds". The Xs will be replace with numbers. This may be used to display the time it took for the server to render the page, a cool thing to add if your website falls into a personal website.
PHP 3.x, 4.x
Web server that supports PHP
OS that supports gettimeofday() system call.
Designed for divers, ScubaMan Dive Log allows you to add your own personal dive log to your site. Features include: Administration Control Panel, Add / Modify / Delete Dive Records, View Dive Records By Date and Dive Number, A Public View Only Page of Dive Log with counter, and a Counter Statistics Page. Requires PHP and MySQL.
These simple lines of PHP code are used to display the current visitor's username. The desired cookie information can be read and displayed anywhere on your website. If the cookie is not found, a default value of "guest" is used as the username. This program can be easily added and modified to fit to your site.
Code Obfuscator opens a specified file, and replaces all instances of each variable within the script with a garbled, random variable. The new output is very hard to understand and/or modify by anyone, even the author of the original version. This script is mainly useful for persons intending on their scripts not being modified after distribution. It is recommended to always keep back-ups of your original scripts before obfuscating them.
This PHP script simply takes the contents of a webpage, pasted onto a form, and by running a simple frequency analysis on the words in the page (excluding common words), it produces a list of the most common 1 word, 2 word and 3 word strings within the page. From this it builds a suitable keyword string which can be used within the meta tags of the originating page. It can often provide ideas for keywords which may have overlooked the author the page, who probably knows the theme too well.
Use PHP, DNS wildcards, and Apache to generate custom pages based on the URL. Similar to the code that drives isgay.com and wasarrested.com, this code will allow you to create all kinds of silly pages.