Re: [PHP] header problems

2004-04-08 Thread John W. Holmes
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

RE: [PHP] header problems

2004-04-08 Thread Jay Blanchard
[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

[PHP] header problems

2004-04-08 Thread Brent Clark
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

RE: [PHP] header problems

2002-05-12 Thread Jason Murray
> 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.

[PHP] header problems

2002-05-12 Thread baldey_uk
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

[PHP] Header problems

2001-03-28 Thread Chris
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.

Re: [PHP] header problems

2001-01-26 Thread Teodor Cimpoesu
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

[PHP] header problems

2001-01-26 Thread Kurth Bemis
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