From: Richard Quadling on
On 9 July 2010 16:42, Gary <gpaul(a)paulgdesigns.com> wrote:
[snip]

Take a look at https://code.google.com/p/loginsystem-rd/
From: "Gary" on

"Richard Quadling" <rquadling(a)gmail.com> wrote in message
news:AANLkTilBMYedd8paKy9DWGN0q7t6KeM4ZZuTu_49Uag4(a)mail.gmail.com...
> On 9 July 2010 16:42, Gary <gpaul(a)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




From: Ashley Sheridan on
On Fri, 2010-07-09 at 15:43 -0400, Gary wrote:

> "Richard Quadling" <rquadling(a)gmail.com> wrote in message
> news:AANLkTilBMYedd8paKy9DWGN0q7t6KeM4ZZuTu_49Uag4(a)mail.gmail.com...
> > On 9 July 2010 16:42, Gary <gpaul(a)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


From: "Gary" on

"Ashley Sheridan" <ash(a)ashleysheridan.co.uk> wrote in message
news:1278705035.2295.2.camel(a)localhost...
> On Fri, 2010-07-09 at 15:43 -0400, Gary wrote:
>
>> "Richard Quadling" <rquadling(a)gmail.com> wrote in message
>> news:AANLkTilBMYedd8paKy9DWGN0q7t6KeM4ZZuTu_49Uag4(a)mail.gmail.com...
>> > On 9 July 2010 16:42, Gary <gpaul(a)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

Ashley

I am aware of that would cause a problem. I am not finding any html at all
on either page.

Thanks for your reply.

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




From: Ashley Sheridan on
On Fri, 2010-07-09 at 15:58 -0400, Gary wrote:

> "Ashley Sheridan" <ash(a)ashleysheridan.co.uk> wrote in message
> news:1278705035.2295.2.camel(a)localhost...
> > On Fri, 2010-07-09 at 15:43 -0400, Gary wrote:
> >
> >> "Richard Quadling" <rquadling(a)gmail.com> wrote in message
> >> news:AANLkTilBMYedd8paKy9DWGN0q7t6KeM4ZZuTu_49Uag4(a)mail.gmail.com...
> >> > On 9 July 2010 16:42, Gary <gpaul(a)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
>
> Ashley
>
> I am aware of that would cause a problem. I am not finding any html at all
> on either page.
>
> Thanks for your reply.
>
> 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
>
>
>
>
>

What does your code look like now?

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