Archive

Archive for the ‘PHP/MySQL Programming’ Category

Automatic image resizing using PHP

September 11th, 2006

Fed up of manually creating thumbnails of all your images prior to uploading? This tutorial goes through the basics of automatically creating a thumbnail image when an image is uploaded. This is a very useful and time-saving tool for any content management system.
We are going to use the GD library in PHP to create our [...]

PHP/MySQL Programming

Displaying a random image using PHP

August 22nd, 2006

Ever wanted to show a random image on your website? This short tutorial goes through the simple steps involved to display a simple random image using the popular server-side scripting language; PHP.
There are 2 main ways of displaying a random image. The first is to loop through the images in a defined order each time [...]

PHP/MySQL Programming