News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Reddit.com:
How do YOU sanitize input?
November 03, 2011 @ 11:04:02

On Reddit.com there's a recent post that asks the question How do YOU sanitize input in your PHP applications?

I am developing some software for my high school using HTML, CSS, MySQL, and most importantly PHP. [...] So I pose this question, what is YOUR favorite way to sanitize input for inserting, updating, or selecting from a database? Also, is there any way you prefer to verify that input is of a certain type, and only of that type ie, if you're expecting an int or a string, how would you make sure you are receiving one?

Answers on the post touch on things like:

0 comments voice your opinion now!
input sanitize database filter opinion


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Framework, JSON, and Del.icio.us

Community News: SitePoint Launches PHPMaster.com

Zachary Burnham's Blog: Code: Setting up unit testing in Zend Framework with multiple databases

Reddit.com: Protecting against attack?

IBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2


Community Events

Don't see your event here?
Let us know!


framework laravel laravel5 security release introduction interview language video podcast version api example unittest library voicesoftheelephpant php7 community series opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework