Number Of Available CPU Cores In PHP

Thursday, July 1st, 2010 Posted in Web Development | No Comments »

It is simple enough to check and then load the number of available processing cores on the current machine into a PHP variable. You can do so with the code ... Read more..

How To Generate Thumbnails On The Fly With PHP

Friday, April 30th, 2010 Posted in Web Development | No Comments »

There are two great ways to generate thumbnails for images on the fly with PHP: Use GD to resize the image on the fly and output it Extracts the thumbnail from ... Read more..

Uploading To FTP Using PHP and CURL

Thursday, October 15th, 2009 Posted in Web Development | No Comments »

An interesting project that I was working on today required grabbing remote files to a server and then pushing them to a remote FTP server. PHP has built in FTP functions, ... Read more..

Checking Remote File Size With PHP

Thursday, October 15th, 2009 Posted in Web Development | No Comments »

If you're going to grab a file from a remote server using PHP it may be useful to know how large the file is before grabbing it. We can check ... Read more..