Re: Session Authentication
| From: | Ólafur Waage | Date: | Mon, 09 Apr 2007 22:47:40 +0000 |
| Subject: | Re: Session Authentication | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252382@lists.php.net to get a copy of this message | ||
Thanks for the replies guys, became a pretty big thread.
The actual code is just a select statement from the user table using sprintf
and mysql_real_escape_string for the username and password. I count how many
row's the select statement returns, if its not zero then i authenticate by
setting a session variable to true (the one in my 1st post)
Thanks again.
2007/4/9, Martin Marques <martin@bugs.unl.edu.ar>:
Stut escribió:
As with most things these days it probably breaches the DMCA. But
frankly speaking, if doing that works then the developers of the
application, and by extension the company, deserve everything they get.
DMCA is a real piece of crap.
--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués | Programador, DBA
Centro de Telemática | Administrador
Universidad Nacional
del Litoral
---------------------------------------------------------