On Fri, 2010-07-09 at 15:43 -0400, Gary wrote:

> "Richard Quadling" <rquadl...@gmail.com> wrote in message 
> news:aanlktilbmyedd8paky9dwgn0q7t6kem4zzutu_49u...@mail.gmail.com...
> > On 9 July 2010 16:42, Gary <gp...@paulgdesigns.com> wrote:
> > [snip]
> >
> > Take a look at https://code.google.com/p/loginsystem-rd/
> >
> 
> Richard
> 
> Thank you for your quick reply and the link.  Since I see you are one of the
> creators, thank you for that as well.
> 
> I am getting the following error and I'm not sure how to correct it.
> 
> Warning: Cannot modify header information - headers already sent by (output
> started at /home/content/45/6359745/html/login/include/loginGlobals.php:281)
> in /home/content/45/6359745/html/login/include/form_token.php on line 15
> 
> Warning: Cannot modify header information - headers already sent by (output
> started at /home/content/45/6359745/html/login/include/loginGlobals.php:281)
> in /home/content/45/6359745/html/login/include/form_token.php on line 22
> 
> Line 15 is: setcookie("token", "", time()-42000);
> Line 22 is :if (setcookie("token", $_SESSION["token"], time()+86400)) {
> 
> loginGlobals stops at line 278
> 
> Again, thank you for all your help.
> 
> gary
> 
> 
> 
> 
> 
> 
> __________ Information from ESET Smart Security, version of virus signature 
> database 5266 (20100709) __________
> 
> The message was checked by ESET Smart Security.
> 
> http://www.eset.com
> 
> 
> 
> 
> 


My guess is that you've put the login PHP code after some HTML in that
page? If you output any content at all (even a blank space) it will
output the default headers. What you need to do is have any logic that
includes a header() call before any output.

Thanks,
Ash
http://www.ashleysheridan.co.uk


Reply via email to