Archive for PHP
Simple PHP Random Image Script
There are times when working with smaller sites you need a simple method of displaying random images. This can be done in one line of text directly in your HTML and a collection of images.
Prepare the Images
The first step is to gather together the images you wish to have randomly rotated. Change all of their [...]
PHP 5.3 and MySQLi Prepared Statements
There seems to be an issue with PHP 5.3 and MySQLi Prepared Statements. The procedural code I wrote works fine in 5.2.x, but once I upgraded to 5.3, the results were bizzare. It would pull about 20-50 characters from the field, duplicate the last several characters over and over again (in and around the div [...]
Read morePHP APC for Windows Download
PECL 4 Win has been down for quite a while making the search for some PHP extensions unnecessarily difficult. I’m offering this permanent APC download for not only my records, but to help others searching for it. As of August 19th, 2009, 3.1.3 is the latest beta version, and 3.0.19 is the latest stable.
Download php_apc [...]
