yes, got it working. thanks a lot.. i did use header
--
Thank you,
Louie Miranda ([EMAIL PROTECTED])
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Louie Miranda [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:45 PM
Subject: Re: [PHP] redirecting
,
Mun Heng, Ow
H/M Engineering
Western Digital M'sia
DID : 03-7870 5168
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 11:46 PM
To: Louie Miranda; [EMAIL PROTECTED]
Subject: Re: [PHP] redirecting to a url..
--- Louie Miranda [EMAIL PROTECTED
I have this form with 2 values under 1 name ColTemplate. I was hoping if i
can redirect it to another url? on the ?? if templateone or templatetwo.
Anyhelp would be good.
-- code -
$v_get_template = $_POST['ColTemplate'];
if ($v_get_template === 'TemplateOne') {
??
} elseif
:08 PM
Subject: [PHP] redirecting to a url..
I have this form with 2 values under 1 name ColTemplate. I was hoping if i
can redirect it to another url? on the ?? if templateone or templatetwo.
Anyhelp would be good.
-- code -
$v_get_template = $_POST['ColTemplate
Louie Miranda [EMAIL PROTECTED] wrote:
I have this form with 2 values under 1 name ColTemplate. I was hoping if i
can redirect it to another url? on the ?? if templateone or templatetwo.
header('Location: http://domain/file');
Curt
--
--
PHP General Mailing List (http://www.php.net/)
To
thanks, this is much better.
--
Thank you,
Louie Miranda ([EMAIL PROTECTED])
- Original Message -
From: Curt Zirzow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 18, 2003 2:29 PM
Subject: Re: [PHP] redirecting to a url..
Louie Miranda [EMAIL PROTECTED] wrote:
I have
--- Louie Miranda [EMAIL PROTECTED] wrote:
echo meta http-equiv=\REFRESH\ CONTENT=\0; URL=us/index.php\;
Or you may have other more advance alternatives?
You can use a protocol redirect rather than relying on HTML:
header('Location: http://yoursite.org/us/index.php');
Chris
=
Become a
Hi, how do I redirect to a different URL, e.g. as a result of an IF
condition being true. I'm basically looking for a PHP version of the ASP -
Response.Redirect(/otherpage.htm)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hy
Robert MacCombe wrote:
Hi, how do I redirect to a different URL, e.g. as a result of an IF
condition being true. I'm basically looking for a PHP version of the ASP -
Response.Redirect(/otherpage.htm)
use the header function to send a location: header to the browser:
Use headers as suggested or use javascript if you want to be able to notify
the user about the redirection.
Bogdan
Robert MacCombe wrote:
Hi, how do I redirect to a different URL, e.g. as a result of an IF
condition being true. I'm basically looking for a PHP version of the ASP -
10 matches
Mail list logo