Hi.
I am playing around with PHP4, and I keep encountering a problem with redirecting the browser to a new page.
In the past, when using ASP or JSP, I would do some business logic in a page and then do a page redirect if necessary. With PHP I've seen code that adjusts the header of the page.
Here is what I'm currently doing...
$theNextPage = "/errorpage.php";
// do some stuff here
if( strlen($myerrormsg) > 0 ) {
header(sprintf("Location: %s", $theNextPage ));