Ok Sorry i should have explained.
"Cleaning" is basically checking inputs for possible hack attempts this includes SQL injections and email injectons.
So to protect against SQL injections u use the mysql_real_escape_string() function (look it up at PHP.net for more info)
With SQL injection you can do things like login without authority,
Like a completely un protected login you could enter
say admin for user and
fake_pass' OR user='admin for the password and the SQL sees that the user is admin and would allow admin access.
Which is bad...
And email injection for a unprotected form a hacker could send spam emails through your server meaning it looks like its you. You get black listed etc etc..
I only read about this a few days ago, so i wont post anything about how to protect becuas ei dont want to get it wrong
Dan
Hope this helps.
TP apprieciated 
__________________
Discounted Web Hosting With XDnet! >> Get 25% of hosting~ Promo: Webmaster-talk <<
|