View Single Post
Old 04-18-2008, 09:54 AM  
payd2purv
Too lazy to set a custom title
 
payd2purv's Avatar
 
Join Date: Jan 2008
Location: Toronto
Posts: 2,727
Quote:
Originally Posted by k0nr4d View Post
That could will cause high server load because its using GD. I would just do something like

<?php
Header("Content-Type: image/jpeg");
$images = array('img1.jpg','img2.jpg','img3.jpg');
shuffle($images);
$string = file_get_contents('headers/'.$images[0]);
echo $string;
exit();
?>
sweet. *copy >paste >save*
__________________
payd2purv is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote