How To Read/Write Icons With PHP

July 30th, 2007

I discovered this interesting PHP class today that can be used to process all kinds of .ico files in PHP. Features Read/write icon files. Extract individual icons from a multi-icon file as GD icon resources. Add new icons to an .ico file. Supports all icon image sizes, bit depths and transparency. You can find the […]

Continue Reading...

Link Cloaking Plugin for WordPress

July 28th, 2007

This is a plugin for WordPress that can automatically cloak outgoing links in your posts and/or pages. Download plugin (Note: May not be compatible with the latest version of Eclipse Link Cloaker.) Features Choose what to cloak – all links, only the links you specify or no links at all. Choose where to cloak – […]

Continue Reading...

Counting del.icio.us Linkbacks – Not Yet

July 21st, 2007

I’ve seen people asking on the Internet if there’s a way to get a list of the most bookmarked pages from a specific site. Some other social bookmarking services (like Digg) have this feature but del.icio.us doesn’t. This looked like an interesting problem so I decided to write a script that would crawl a given […]

Continue Reading...

Concurrent Processing And PHP+MySQL, And Challenges Abound

July 19th, 2007

What would you do if you wanted to run several instances of a PHP script that each work on a portion of a MySQL table, without interfering with each other and trying to grab the same rows? I don’t know the correct answer to this, but here’s what I did. It’s a rant, yeah.

Continue Reading...

How To Extract All URLs From A Page Using PHP

July 16th, 2007

A PHP function that extracts all URLs from a page and another one that translates a relative URL to absolute URL. Originally I wrote this for a crawler script.

Continue Reading...