Re: [PHP] Login Verification

2004-07-10 Thread Eric Schwartz
On Sat, 10 Jul 2004 20:47:47 +0100, Harlequin <[EMAIL PROTECTED]> wrote: > Hi everyone. > > I have a quick question regarding the above. currently I have a form that > posts to another page. However, rather than wait until they get to that page > to verify their login are there conventions that ar

Re: [PHP] Login Verification

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 04:46, Harlequin wrote: > I did Jason but am reworking all the pages and tidying the syntax up and > one of the things I never sorted out was the fact that users logging in > would be taken to the logged in page although their user data was not > displayed and an error told

Re: [PHP] Login Verification

2004-07-10 Thread Marek Kilimajer
Harlequin wrote: I did Jason but am reworking all the pages and tidying the syntax up and one of the things I never sorted out was the fact that users logging in would be taken to the logged in page although their user data was not displayed and an error told them they logged in incorrectly. This,

Re: [PHP] Login Verification

2004-07-10 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Harlequin wrote: > I did Jason but am reworking all the pages and tidying the syntax up and one > of the things I never sorted out was the fact that users logging in would be > taken to the logged in page although their user data was not displayed and > an error told

Re: [PHP] Login Verification

2004-07-10 Thread Harlequin
I did Jason but am reworking all the pages and tidying the syntax up and one of the things I never sorted out was the fact that users logging in would be taken to the logged in page although their user data was not displayed and an error told them they logged in incorrectly. This, from a users per

Re: [PHP] Login Verification

2004-07-10 Thread Jason Wong
On Sunday 11 July 2004 03:47, Harlequin wrote: > I have a quick question regarding the above. currently I have a form that > posts to another page. However, rather than wait until they get to that > page to verify their login are there conventions that are recognised for > this process currently..

[PHP] Login Verification

2004-07-10 Thread Harlequin
Hi everyone. I have a quick question regarding the above. currently I have a form that posts to another page. However, rather than wait until they get to that page to verify their login are there conventions that are recognised for this process currently...? For example, my code for the form's he

Re: [PHP] Login Verification - snag!

2001-11-12 Thread Morten Winkler Jørgensen
I hate to have to duplicate the file with different permissions AMK> just so that the process can read it when it needs to. How about persorm a exec("su username password") grabbing the output? Or something like that... -- Kind regards, Morten Winkler -- PHP General Mailing List (http

[PHP] Login Verification - snag!

2001-11-12 Thread Ashley M. Kirchner
I just realized I jumped the gun on myself with my question earlier. /etc/shadow isn't accessible by anyone but root. With that said, how can I build a login page in PHP, running as the web server daemon process, that can validate the user against the system's shadow file? I hate to have t

RE: [PHP] Login verification

2001-11-12 Thread Jack Dempsey
i would think you could just use crypt() to check the pass against what you read in from the file -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 2:27 AM To: PHP-General List Subject: [PHP] Login verification I want to make a

[PHP] Login verification

2001-11-11 Thread Ashley M. Kirchner
I want to make a login page in PHP, which will check the user/password against the system's user/password file (in my case, /etc/passwd and /etc/shadow.) With the machine running PAM, how can I have PHP do this? Keep in mind I don't need to modify anything, just verify the login. Once