RE: Redirect then error message to user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
   {
    header("Location: http://www.xxxxxx.com/page1.php";
);
    print "You have errors";
    exit;
   }
  
  }
[/snip]

You either need to carry info about the error in a session variable or
url string or something...above your redirect happens before any error
can be sent to the browser....

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux