SQL injection

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

SQL injection

Post by basdog22 »

hi,
i would like someone to point me some ways to prevent sql injection. If you have a function it would be great to look at the code.

thanks :wink:
User avatar
Dr Evil
Forum Contributor
Posts: 184
Joined: Wed Jan 14, 2004 9:56 am
Location: Switzerland

Post by Dr Evil »

Sorry no code to show you. But you can look this way:
http://www.devarticles.com/c/a/MySQL/SQ ... ou-Safe/3/

It's ASP but concepts are identical.
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Post Reply