Register PHP

Added the link to go back in error checking and more commenting.