Hello Jason,
Thursday, February 12, 2004, 6:38:05 AM, you wrote:
It should be this:
header(Location: another_page.php);
and NOT header(Location:another_page.php);
JW Also it should be an absolute URL otherwise it might break on some (standards
JW compliant only) browsers:
While I totally
Hello Eric,
Thursday, February 12, 2004, 10:57:57 PM, you wrote:
EB That's pretty wierd
EB Think i'll do some research on headers, need more info anyway ;)
EB But did my tip work in your script when you took a space there?
EB Just wondering...
EB Eric
No it still doesnt work ... I have
Hello adwinwijaya,
Thursday, February 12, 2004, 12:27:07 PM, you wrote:
a In my logic, after we call header('location: foo.php'); the php
a processor should terminated and open the page foo.php instead ...
Except that doesn't happen. See my other reply on this subject.
--
Best regards,
On 12 Feb 2004 at 17:20, adwinwijaya wrote:
Hello php-generaler's ,
I have a script like this :
if($foo == 'something'){
header('Location:to_another_page.php') ;
}else
{
do another thing in here
}
header('Location:to_previous_page.php');
I got a
This is not a bug. Here you expect that the script should end executing
after the statement:header('Location:to_another_page.php') if the if
statement is true. But it won't and it proceeds to the next statement;
the next header statement:header('Location:to_previous_page.php');
An exit statement
Headers have to be pretty accurate, or it will cause trouble.
And your redirect header is not quite correct.
It should be this:
header(Location: another_page.php);
and NOT header(Location:another_page.php);
What you need here is a space between Location: and the URL.
Adwinwijaya [EMAIL
On Thursday 12 February 2004 14:40, Eric Bolikowski wrote:
Headers have to be pretty accurate, or it will cause trouble.
And your redirect header is not quite correct.
It should be this:
header(Location: another_page.php);
and NOT header(Location:another_page.php);
What you need here is a
7 matches
Mail list logo