Entries by Skye

Find All Images in a String Using Pattern Matching

Quick tip on finding images within a string. I used this for a WordPress content conversion I did. I needed to find all the images in the post content, then copy them to a new location, and update the content with the new image URL. This works great for content scraping.

FFmpeg: Create Thumbnail Image From a Video

I’ve been doing a lot of work with FFmpeg recently, which if you don’t know already is a really awesome video/audio conversion library, so I thought I would do a few posts on some of the basics of what FFmpeg can do. We’ll start with creating a thumbnail image from a video.

PHP Password Hashing and Password Security

There is a great article over at nettuts in regards to password security, properly hashing and storing passwords. It covers most of the basics including: What is hashing Storing hashed passwords Hash collision Rainbow Tables Hash algorithm speed Salting / Nonces Which hashing function to use For any developer creating applications or systems with user […]

PHP: Parse Email Body with Email Piping

I’ve had a lot of request for more posts about email piping, specifically filtering the email body and obtaining just the reply content. It’s taken me a while to get around to writing this even though the code is about 6 months old. If you’re new to email piping, check out some of my previous […]

htaccess: Block Visitors by Referer

Well at work a couple week ago, we had one of our affiliates try to use an iframe to serve our site directly through their domain and reap the affiliate benefits. A couple lines of htaccess code fixed that with a little fun mixed in.