Re: nooB PhP login using MySQL
- From: nospam@xxxxxxxxxxxxxxxx (Rafe Culpin)
- Date: Fri, 30 Mar 2007 10:20 +0100 (BST)
In article <u0cp03562monb4e54ets3488i3eems6acc@xxxxxxx>,
blthecat@xxxxxxxxxxx (Geoff Berrow) wrote:
The process is to take the supplied username and password and do a
database query to see if there is a row containing that combination. Of
course, this presupposes that you ensured that the combination was
unique before storing in the database. If a row is found the log in is
successful.
*IMPORTANT*
Before doing this and putting it on a public site, google "SQL injection
attack" (with quotes) and make sure you understand the implications and
have guarded against them. If you do not do this an attacker can run
arbitrary SQL commands on your database.
--
To reply email rafe, at the address cix co uk
.
- Follow-Ups:
- Re: nooB PhP login using MySQL
- From: Geoff Berrow
- Re: nooB PhP login using MySQL
- References:
- Re: nooB PhP login using MySQL
- From: Geoff Berrow
- Re: nooB PhP login using MySQL
- Prev by Date: Re: What is the learning curve for PHP?
- Next by Date: Re: Video upload and playback
- Previous by thread: Re: nooB PhP login using MySQL
- Next by thread: Re: nooB PhP login using MySQL
- Index(es):
Relevant Pages
|