[thelist] Form Security

DAVOUD TOHIDY dtohidy at hotmail.com
Mon Jul 19 09:29:09 CDT 2010


>> Maybe I should be doing the strip tags and slashes too...hmm

 

>>> As far as I know yes it is a good idea to use both you mentioned.

 

>>>>No, it's not a good idea, because it changes the original data.

 

I am using php, mysql. So by changing data for example in a search input or in a contact form by the user what do you mean happens? why it should be a problem? Is it NOT o.k if i get only the text from an input by the user with markup?

 

could you provide your suggestion for the code I provided in my original post please? with explanation as to why it is better thatn the code I have provided please.

 

Thanks

davoud

 		 	   		  
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384


More information about the thelist mailing list