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
> 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.
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
4 matches
Mail list logo