[PHP] Newbie Question: Forcing a page load with no click

2001-08-21 Thread LB
I've built a small login script (code fragment below), and want to force a page load depending on if the login was valid or not. How do I make PHP redirection to a new page? Ideally, I want the equivalent of building an query string such as "goodpage.php?Username=" and forcing it to load. if (tri

Re: [PHP] Newbie Question: Forcing a page load with no click

2001-08-21 Thread Dallas K.
use require_once(""); to include the page or use header("Location: "); to redirect to a different page - Original Message - From: "LB" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 10:58 AM Subject: [PHP]