Home

Archive for 'PHP' Category

How To Split Randomly But Unevenly - PHP Code For Load UNBalancing

I read over a recent post on load splitting, that got me thinking about code I’ve written over the years - how to divide the work between many resources, keeping in account how much each can ‘handle’? For example, if you have a server that can handle 3 times the...

Read More »

Not So Random Image Rotation in PHP (…for HTML) - The Sequel

A long time ago, I wrote code to randomly rotate images, and submitted to SitePoint, and they published it. I finally decided to post it here - and include some questions I’ve gotten over the last few years: • Can I include links? Not with the eBay-only (HTML) style code. If...

Read More »