added php script, updated php documentation

Added the date.php script to the repository and added more documentation
to the interface.php script.