Thread: php security
View Single Post
06-04-2005, 04:17 AM
#11
Travis is offline Travis
Status: Member
Join date: Jul 2004
Location:
Expertise:
Software:
 
Posts: 445
iTrader: 0 / 0%
 

Travis is on a distinguished road

  Old

Important!

Testing that lead me to a thought about Koobi's code above. If php automatically escapes those characters Koobi's code would make it go back the other way. As a result I in fact decided to try using Koobi's function and found some staggering results!

I hate to say it but using the function koobi said above is sceptable to sql injection attacks . Don't try any thing fancy just make sure you put the users input into the quotes and php will take care of the rest!!!