That is open to SQL injection attacks. You should escape single quotes in
the input values.

Signature
Derek Davis
ddavis76@gmail.com
> That is open to SQL injection attacks. You should escape single quotes in
> the input values.
Ah, but then there's the possibility that you might screw up the escaping,
and provide means by which a different injection can occur to your code.
There are better ways to avoid SQL injection - as usual, relying on someone
else to do the work is usually more secure, because they've been doing it
for a while. So, check out the section on SQL injections in "Writing Secure
Code" by LeBlanc and Howard.
Alun.
~~~~
[Please don't email posters, if a Usenet response is appropriate.]

Signature
Texas Imperial Software | Find us at http://www.wftpd.com or email
23921 57th Ave SE | alun@wftpd.com.
Washington WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.