Re: Re: header("Location:);

From: Date: Tue, 30 Oct 2001 17:44:37 +0000
Subject: Re: Re: header("Location:);
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72904@lists.php.net to get a copy of this message
On Tuesday, October 30, 2001, at 11:41 AM, Henrik Hansen wrote:
albertoarroundsdrsl.com@pb1.pair.com (Alberto) wrote:
Ok, it works fine for me, i can redirection, but I don't want the browser to load another page, I want to IF A THEN RUN A.PHP, IF B THEN RUN B.PHP, I know i can use include('a.php') or require('a.php') but I'm sure theres a way to say php parser to run one or another script without "changing URL" to the client.
use include as you say or html frames.
Yeah, why not if($A) { include('a.php'); } elseif ($B) { include('b.php'); }
-- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#72904) next »