On Tue, 2 Dec 2003, Chris Hubbard wrote:
All, dealing with header(location:...) again. and trying to
understand what's happening. I've got the following code:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
I'm kinda surprised I didn't see this mentioned.. Have you
--- Kelly Hallman [EMAIL PROTECTED] wrote:
On Tue, 2 Dec 2003, Chris Hubbard wrote:
All, dealing with header(location:...) again. and trying to
understand what's happening. I've got the following code:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;.
$id);
I'm kinda
?php
ob_start();
$dom = $_SERVER['SERVER_NAME'];
writeMessage($id) or die('cannot write' . $id);
header('Location: http://' . $dom . '/cp/ad/ad_details.php?id=' . $id);
exit();
ob_end_flush();
?
--
Jon Kriek
www.phpfreaks.com
www.jonkriek.com
--
PHP General Mailing List
All,
dealing with header(location:...) again. and trying to understand what's
happening.
I've got the following code:
writeMessage($id);
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
writeMessage() is a debugging function that writes the value of the variable
to a
--- Chris Hubbard [EMAIL PROTECTED] wrote:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
There should be a space after the first colon there.
Then I used LiveHTTPHeaders in Mozilla and it give me some interesting
information, though I'm not quite sure how to
5 matches
Mail list logo