I want to be able to check whether or not a user has certain permissions to be on that page. But this code is included after I've already done some echo statements. I use the following code to redirect the browser on an error,
header("location:error.php");
exit;
If a file is submitted in the header function is used it refuses to recognize the variables and thus goes to the wrong page. Is it possible to pass POST variables on as if a form was submitted, using header()?
Bookmarks