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

[PHP] user login and access + headers already sent

2010-07-15 Thread Carlos Sura
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 its annoying to look at this: Warning: session_start():

Re: [PHP] User Login Problem

2006-06-22 Thread Richard Lynch
On Tue, June 20, 2006 6:43 am, suresh kumar wrote: > I am facing one problem in my project.i want to restrict more > than one user login in the same account .Is there any functions > available to check r we can implement using session. You'll have to decide for yourself when a user is or isn'

Re: [PHP] User Login Problem

2006-06-20 Thread Dan McCullough
Or make your own, might be easier to do. On 6/20/06, suresh kumar <[EMAIL PROTECTED]> wrote: Hi, I am facing one problem in my project.i want to restrict more than one user login in the same account .Is there any functions available to check r we can implement using session.

Re: [PHP] User Login Problem

2006-06-20 Thread Jochem Maas
suresh kumar wrote: > Hi, > I am facing one problem in my project.i want to restrict more than one > user login in the same account .Is there any functions available to check r > we can implement using session. probably. >

[PHP] User Login Problem

2006-06-20 Thread suresh kumar
Hi, I am facing one problem in my project.i want to restrict more than one user login in the same account .Is there any functions available to check r we can implement using session. A.suresh

Re: [PHP] user login idle timeout feature

2003-06-03 Thread Justin French
on 02/06/03 8:06 PM, electroteque ([EMAIL PROTECTED]) wrote: > thats what i was thinking of logic but i may be having about 10 users logged > in doing full text searching on a 200 meg + database will that affect it ? the issue shouldn't be your full text searching... the issue should be your sess

RE: [PHP] user login idle timeout feature

2003-06-02 Thread electroteque
PROTECTED] Subject: Re: [PHP] user login idle timeout feature off the top of my head... have a column in your user table called "last_active"... it should hold a date-time, or a unix timestamp, or something like that. on each page request by a logged in user, you would update that value wi

Re: [PHP] user login idle timeout feature

2003-06-02 Thread Justin French
off the top of my head... have a column in your user table called "last_active"... it should hold a date-time, or a unix timestamp, or something like that. on each page request by a logged in user, you would update that value with a newer stamp on physical logout, you would set that to zero or n

[PHP] user login idle timeout feature

2003-06-02 Thread daniel
ok so i worked out the connection_status and connection_abort will only work if the script is actually running and a request to the server , so i wont be able to tell if someone had closed the browser or not , what i'd like to know is , how can i tell if a user has not accessed the script for a cer

Re: [PHP] user login names/values

2001-04-25 Thread Meir kriheli
On Wednesday 25 April 2001 13:43, Thimo von Rauchhaupt wrote: > Just to mention security, look at this page: > > http://www.livin4.com/jhacker/jh1.htm > > A simple login isn?t that easy, If you have magic quotes turned on or use the addslashes function, this should be no problem. Always validat

Re: [PHP] user login names/values

2001-04-25 Thread Thimo von Rauchhaupt
Just to mention security, look at this page: http://www.livin4.com/jhacker/jh1.htm A simple login isn?t that easy, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

[PHP] user login names/values

2001-04-24 Thread Dennis Gearon
I've been on many sites, like most of us. Which do the members of this list like better, email address for an identifier, or some combination of their input/some routine's output? %like% as in: A/ for security, programming, our jobs/hobby usage, -or- B/ as a user/member our/your-self? -- PHP Ge

Re: [PHP] user login

2001-04-10 Thread Keyur Kalaria
You can use session management keyur - Original Message - From: "george" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 8:19 PM Subject: [PHP] user login > I know it is possible, I'm just not sure how, but I want a user to log

[PHP] user login

2001-04-10 Thread george
I know it is possible, I'm just not sure how, but I want a user to log into the site then if they enter information into a form the database not only stores the form info but also who entered it, so I would have a field called user and it would either get theinformation from a cookie,which I hav

[PHP] User login using session algorithm

2001-03-04 Thread Arcady Genkin
I'm planning to write a simple user login module. I want it to be a stand-alone class, and not rely on cookies (I'm passing all variables via GET method anyways, so I just want to pass a session ID in the URL). Before I go ahead and do some mistake, could somebody have a look at the outline of t