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

From: Date: Sat, 14 Feb 2004 03:20:48 +0000
Subject: Re: [Q] Howto go directly to a URL?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-177677@lists.php.net to get a copy of this message
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-relative URL. Cheers, Michael member_login_page -> member_home_page rather than member_login_page -> intermediate_page -> member_home_page. "Michael T. Peterson" <mtp1032@comcast.net> wrote in message news:c0je3l$uig$1@sea.gmane.org... > 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 the > home page. I know this sounds simple, but the only solution I've found is a > function called do_html_url() from Welling and Thompson's book (see > http://www.cs.indiana.edu/classes/a348/fall2001/labs/php9/do_html_url.html). > When this function is invoked the user is dispatched to an intermediate web > page on which is presented a link that, when clicked, will take the user to > the intended page. > > Can I avoid that intermediate step, somehow? When my script logs in the > user, how to I write the code that dispatches directly to the home page? > > Thanks, > > Cheers, > > Michael > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#177677) next »