Re: [PHP] header function, I'm stumped

2003-12-09 Thread Kelly Hallman
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

Re: [PHP] header function, I'm stumped

2003-12-09 Thread Chris Shiflett
--- 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

Re: [PHP] header function, I'm stumped

2003-12-09 Thread Jon Kriek
?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

[PHP] header function, I'm stumped

2003-12-02 Thread Chris Hubbard
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

Re: [PHP] header function, I'm stumped

2003-12-02 Thread Chris Shiflett
--- 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