Image blacklist - test a string against a blacklist in PHP

/ Published in: PHP
Save to your folder(s)

I was working on a site that pulled in and republished a bunch of RSS feeds. Some contained duff images such as blank gifs that I needed to block so I wrote this function to compare the url of an image against a blacklist

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.