[PHP] Re: [Q] Howto go directly to a URL?

2004-02-18 Thread Michael T. Peterson
Thanks, everyone. Just the answer(s) I was looking for. Michael "Michael T. Peterson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have written a very straightforward user login script. Once the user > successfully logs in, I would like my PHP script to take him directly to t

Re: [PHP] Re: [Q] Howto go directly to a URL?

2004-02-13 Thread Richard Davey
Hello Michael, Saturday, February 14, 2004, 3:20:48 AM, you wrote: MTP> Thanks for the quick response, everyone, but I was hoping for something MTP> other than redirect()/header(). As I understand them, these services Why? it's a transparent operation and the site visitor will never even see it

[PHP] Re: [Q] Howto go directly to a URL?

2004-02-13 Thread Michael T. Peterson
Thanks for the quick response, everyone, but I was hoping for something other than redirect()/header(). As I understand them, these services require the complete URL and I'm simply dispatching to another page within my web site (in fact, within the same directory) i.e., I'm looking to use a path-

[PHP] Re: [Q] Howto go directly to a URL?

2004-02-13 Thread Phillip Jackson
if your do_login script doesn't require any cookies or session information you can just redirect right after auth: http://www.somewebsite.com";; //do stuff if($loggedin == true){ header("Location: " . $url); } else{ //possible postback with get var error i.e: header("Location: do_login.p