--- Chris Shiflett <[EMAIL PROTECTED]> wrote:

> On each page, it might be good to add some debugging
> information near the
> top (where session_start() is):
> 
> <?php
> session_start();
> echo '<pre>' . htmlentities(print_r($_COOKIE, true))
> . '</pre>';
> echo '<pre>' . htmlentities(print_r($_GET, true)) .
> '</pre>';
> echo session_id();
> ...
> 
I added this in , on top, right under session_start()
as shown and get this error:

Warning: Cannot modify header information - headers
already sent by (output started at
/home/lurkkcom/public_html/page1.php:6) in
/home/lurkkcom/public_html/page1.php on line 54

So it's clashing with the redirect:

Header ('Location:
http://www.mysite.com/page2.php?'.SID);

Stuart

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

Reply via email to