Browsing articles tagged with "security Archives - PHP Dev Tips"
Jun
13
2011
13
2011
Simplified Data Sanitizing
Ever feel as though your copy-paste buttons are going to wear out because your form has 36 fields, and ALL that data has to be scrubbed clean and fully sanitized prior to database entry? I feel your pain. Actually, to be fair- I’ve felt your pain, but not anymore! Why do we need to sanitize and clean user input? Because we can’t trust all users! Thanks to PHP’s handy ability to reference user created functions, […]
Recent Snippets
- htaccess : Only allow access to specific wordpress upload types if logged in
- MySQL : Query WordPress Database for Invalid Media Filenames
- PHP : Get Actual IP Address with PHP
- JavaScript : Allow Tab in Textarea
- PHP : Clean sanitized database contents on output
- htaccess : Force www. prefix in URIs
- PHP : Force File Download with Correct Content Type
- Wordpress : Disable upgrade notification