RE: Redirect not working on server

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

 



[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?
[/snip]

The first thing that you will want to do is

echo $_SESSION['id'];
echo $_SESSION['cat'];

To see if they contain anything

-- 
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