Re: Redirect not working on server
| From: | revDAVE | Date: | Tue, 02 Jun 2009 19:44:42 +0000 |
| Subject: | Re: Redirect not working on server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293505@lists.php.net to get a copy of this message | ||
On 6/2/2009 12:41 PM, "revDAVE" <Cool@hosting4days.com> wrote:
>> [snip]
>> I have this line at the end of 1 big php block...
>>
>> header('Location: mypage.php?id=' .
>> $_SESSION['id'].'&cat='.$_SESSION['cat']);
>>
>> It works fine on my dev. Testing server but does not forward on the
>> actual
>> website....
>>
>> Any way to fix this?
The error that a tech said he sees on server version is:
cannot send session cook - headers already sent
cannot modify header
- but no errors at my house...
BTW: I found out that Php on server is v5.1.2
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists 09]