I have a default PHP script in all of my directories and I want them to
redirect to my error script with some post parameters, or even variables,
and I've tried both but neither seems to do what I expect it to.

<?php
$contents = "error";
$errorNumber = 403;
$errorMessage = "Access Forbidden";
header("Location: /?page=error");
?>

After that script is run I expect the script associated with /?page=error to
see that $errorNumber and $errorMessage are set, but it doesn't see that.
Can anybody explain why?

-- 
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to