Everyone,

Thank you very much for your advice about not using "PUT". I will use GET or POST from now on.

I am, however, failing to understand how to use headers to change pages instead of meta tags.

After checking if the user has logged in correctly I do this:

if ($loginGood){
   echo '<meta http-equiv="refresh" content="0;URL=welcome.php">';
}
else {
    echo '<meta http-equiv="refresh" content="0;URL=loginerror.php">';
 }

How can I use a header like the following one to do change pages based on variable input?

Thank you for your time and patience,
- Matt

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to