View Single Post
Old 03-09-2009, 10:32 PM   #14 (permalink)
CrazeD
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,690

CrazeD will become famous soon enough

Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: My PHP Video Tutorials

Quote:
Originally Posted by kmote View Post
Good tutorials there but it looks like login.php is vulnerable to SQL injection.
As it is only a basic tutorial, I didn't do much with security. However, mysql_escape_strings will pretty much eliminate SQL injection, by escaping any illegal characters. If you wanted to take it a bit further, you could use some regex to custom filter the data before you do any queries.
__________________

Need website help? PM me!
CrazeD is offline   Reply With Quote