Re: [PHP] user auth

2002-05-30 Thread Miguel Cruz
On Thu, 30 May 2002, Justin Blake wrote: > I will soon be developing a user authentication system with different > access levels. I will need to check the users against a mysql database. > How secure is checking for a session var, and then redirecting with > header('Location:...') ? Is there a way

Re: [PHP] user auth

2002-05-30 Thread Daniel Tryba
On Thu, May 30, 2002 at 11:46:29PM -0400, Justin Blake wrote: > I will soon be developing a user authentication system with different > access levels. I will need to check the users against a mysql > database. How secure is checking for a session var, and then > redirecting with header('Location:.

RE: [PHP] user auth.. with mysql and cookies.. help

2002-05-30 Thread James Holden
It's basically saying that you are outputing stuff to the browser before you are setting the cookies which is a no go. All header requests (header() & setcookie()) must be run before any text is outputted. Thus, the most common error is that after or before your php tags is empty space, which t

RE: [PHP] user auth script update.

2002-02-16 Thread Matthew Darcy
never mind Matt, I noticed the missin ); on line 65 Thanks for your help. Matt. -Original Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: 16 February 2002 12:05 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] user auth script update. > I am now getting the pa

Re: [PHP] user auth script update.

2002-02-16 Thread Matt
> I am now getting the parse error on line 64 > $sql_authorisation = "SELECT * FROM account_details WHERE > account_name='$login_username' AND > account_password=PASSWORD('$login_password'); You're missing the closing " on the last line above. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] user auth

2001-09-14 Thread Andreas Gietl
On Friday 14 September 2001 17:01, you wrote: if you want to work with the passwords that originally are in the shadow-file your webserver needs to have read-permissions for the shadow-file, which is no good idea. you could parse out the passwords from the shadow-file and write them into an e