View Single Post
Old 08-08-2009, 02:54 PM  
Twig
Confirmed User
 
Twig's Avatar
 
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
I guess I could just go with something such as

Code:
<?php

$fcontents = join ('', file ('ads.txt'));
$s_con = split("@",$fcontents);

$banner_no = rand(0,(count($s_con)-1));
echo $s_con[$banner_no];
?>
but I'd rather be lazy with a simple interface lol.
__________________
Twig is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote