On Tuesday, October 30, 2001, at 11:41  AM, Henrik Hansen wrote:

> [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to