Added PHP login

Added the PHP code for login (amongst other things). This will only run
on a web server, so ask if you want one setup for testing on your
computer (PHP will not work without it). Feel free to change links to
pages for your own 'offline' testing. Just remember to put <!--CHANGED
[initial link] --> next to it so the others know what to change it back
to later.