Re: Redirect not working on server

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

 



On 6/2/2009 12:04 PM, "Jay Blanchard" <jblanchard@xxxxxxxxxx> 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?
> [/snip]
> 
> The first thing that you will want to do is
> 
> echo $_SESSION['id'];
> echo $_SESSION['cat'];
> 
> To see if they contain anything

THANK YOU JAY,

BTW: I'm a newbie

They seem to be fine - and have proper content

I added this:

error_reporting(E_ALL);

If I put this on a page isn't it supposed to override other server setting
and display errors? It's not - This the page is blank - except for the echo
test


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