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

From: Date: Sat, 14 Feb 2004 03:33:06 +0000
Subject: Re: Re: [Q] Howto go directly to a URL?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-177678@lists.php.net to get a copy of this message
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 happen. MTP> require the complete URL and I'm simply dispatching to another page within They don't *have* to have a complete URL. MTP> my web site (in fact, within the same directory) i.e., I'm looking to use a MTP> path-relative URL. Where this other page resides is irrelevant - the fact is you want to move from A to B. PHP doesn't care that B is in the same location as A. As far as I can see it you have two choices: Use the Header() option as suggested and pass control from one script to another, or include the "final" page and let that control the output. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#177678) next »