Re: [PHP] user login and access + headers already sent

2010-07-16 Thread tedd
At 4:56 PM +0100 7/15/10, Ashley Sheridan wrote: On Thu, 2010-07-15 at 15:38 +, Carlos Sura wrote: > So, I'm wondering, is there any other way to avoid put code in every page? or... another way to avoid that kind of error. Common logic for a login is to use an include file that does thi

RE: [PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
> Subject: Re: [PHP] user login and access + headers already sent > > On Thu, Jul 15, 2010 at 04:56:50PM +0100, Ashley Sheridan wrote: > > > On Thu, 2010-07-15 at 15:38 +, Carlos Sura wrote: > > > > > Hello mates, I'm developing a user registration and a

Re: [PHP] user login and access + headers already sent

2010-07-15 Thread Paul M Foster
On Thu, Jul 15, 2010 at 04:56:50PM +0100, Ashley Sheridan wrote: > On Thu, 2010-07-15 at 15:38 +, Carlos Sura wrote: > > > Hello mates, I'm developing a user registration and access level system... > > > > And I wonder... Is there any way to avoid to put code in every header page? > > Because

RE: [PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
.com; php-general@lists.php.net > Subject: Re: [PHP] user login and access + headers already sent > > i prefer using a template engine like smarty http://www.smarty.net/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscrib

Re: [PHP] user login and access + headers already sent

2010-07-15 Thread Ashley Sheridan
On Thu, 2010-07-15 at 15:38 +, Carlos Sura wrote: > Hello mates, I'm developing a user registration and access level system... > > And I wonder... Is there any way to avoid to put code in every header page? > Because, almost every page contains javascript, so almost every page cotains > tag

Re: [PHP] user login and access + headers already sent

2010-07-15 Thread kranthi
i prefer using a template engine like smarty http://www.smarty.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] user login and access + headers already sent

2010-07-15 Thread Richard Quadling
On 15 July 2010 16:38, Carlos Sura wrote: > > Hello mates, I'm developing a user registration and access level system... > > And I wonder... Is there any way to avoid to put code in every header page? > Because, almost every page contains javascript, so almost every page cotains > tags... And it