Browsing articles from "July, 2014"
Jul
11
2014
11
2014
Templated HTML Email with PHP using PHPMailer
Today we’re going to talk about sending amazing, templated, parsed HTML emails using PHP and the PHPMailer class. I know it sounds trivial- “Oh sure! Let’s send some messages!”, however, I do get a ton of requests for assistance when dealing with email templates and parsed content within those templates, so I figured this would be a good thing to write about! Background When I refer to email templates, I’m referring specifically to chunked, individual […]
Jul
8
2014
8
2014
MagicMin Version 3 Available!
Minifying CSS and Javascript just got way more awesome with MagicMin 3.0.0! Along with better directory path support for windows machines, V3 includes the ability to output merged/minified files with unique hashed filenames for better caching support
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