From: "Brent Clark" <[EMAIL PROTECTED]>
> I need to display a javascript window with some text displayed in to.
> After the execution and displaying of this windows, I have two executable
php script that perform some task for me.
> After all this I need the page to direct to another page.
Use a J
[snip]
I keep getting this header error.
[/snip]
Which header error? Like, the one where it says you can't do it again?
It is because you have caused some output somewhere prior to the
invocation of you header request to the new location.
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hi All
I need to display a javascript window with some text displayed in to.
After the execution and displaying of this windows, I have two executable php script
that perform some task for me.
After all this I need the page to direct to another page.
I keep getting this header error.
If someone
> Can anyone tell me if there is any reason why this would not
> be working?
>
> mysql_connect($DBhost,$DBuser,$DBpass) or die(header("Location:
> error.php"));
Why bother calling die() at all there?
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Hi all,
Can anyone tell me if there is any reason why this would not be working?
mysql_connect($DBhost,$DBuser,$DBpass) or die(header("Location:
error.php"));
What im trying to do is connect to the database and if that fails send the
browser to the error page. But the browser just sits there on
Help,
Why did this suddenly stop working? (only code on page)
header ("Location: http://www.otherserver.com/index2.htm");
It was working fine before, now the page just returns:
in the source, no error messages.
Kurth Bemis wrote:
>
> when i put this
> header('location: $url');
>
> i get this
>
> http://domain.com/$url
>
> what the hell am i doing wrong?
>
erm,
header ("Location: $url");
[double quotes, so PHP will consider your dollars, yens or whatever]
--teodor
--
PHP General Mailing List (h
when i put this
header('location: $url');
i get this
http://domain.com/$url
what the hell am i doing wrong?
--
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-mai
8 matches
Mail list logo