Browsing articles tagged with "coding standards Archives - PHP Dev Tips"
Feb
5
2013
5
2013
Dev Confessions (And lessons learned the hard way!)
I’ve learned a lot through the years as a web programmer/engineer/developer (pick and choose the term you prefer). I’ve so too many thousands of lines of code to count, I’ve seen so many errors and warnings and server outages that I just don’t care to describe, and looking back at my past work is often pretty horrifying! Let’s get those confessions out of the way Forgive me oh holy purveyors of code, for I have […]
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