View Single Post
  #8 (permalink)  
Old 09-07-08, 08:31 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
I couldn't help but notice that you're doing absolutely no screening of POST variables for malicious code or characters, nor is there even any checking to make sure the data types are correct. You're just blithely taking raw POST vars and sticking them into a SQL statement. It's difficult for me to describe just how incredibly foolhardy and dangerous that is.

I sincerely hope this code isn't accessible from the web or you're in for some extremely rude surprises.
__________________
I don't live on the edge, but sometimes I go there to visit.
-------------------------------------------------------------------------
Sanitize Your Data | Oracle Date & Substring Functions | Code Snippet Library | [url=http://www.codmb.com/Call Of Duty[/url]
Reply With Quote