Re: Redirect not working on server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/2/2009 12:41 PM, "revDAVE" <Cool@xxxxxxxxxxxxxxxx> 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]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux