Please find below several PHP programs that our company has built. Please note that the files have ".text" on the end so that the source code shows up in the browser. Be sure to rename them with ".php" on the end in place of ".text"
Note that a great Apache-MySQL-PHP-Perl-Python-phpMyAdmin package is XAMPP
It can be used on GNU/Linux distributions like Debian, Redhat and Suse, or it can be used on Windows.