View Single Post
  #3 (permalink)  
Old 05-09-08, 05:30 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
Well, you definitely need to do some verification of the inputted data.
For instance, I could enter "abcdefg" in the phone number field, and it would still store it in the database.

Apart from that: your code is vurnarable for database injection; I can simply enter a query into one of the fields, telling to destroy everything in the current table, and it will perfectly work with your script.
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote