Investigating PHP
I am currently working my way through MySQL for Dynamic Websites by Larry Ullman (edition 4).
I currently (December 2012) run php 5.3.10-10 and a mysql 5.1.28 database on apache 2.2.22 server on Ubuntu 12.04 in VirtualBox.
Chapter 12: Review and Pursue
Function redirect_user: April 2014
The php code in the pdf below is an investigation of the 4th Pursue element of Chapter 12 PHP and MYSQL for Dynamic Web Sites (ed4) by Larry Ullman.
I thought of several ways of doing this finally deciding that this was at least as good as any.
The file to be redirected is webroot > ch12a > login.php TO webroot > ch12test > loggedin.php.