i think i got the wrong forum last time...
Hi, i'm new to PHP and have been using some of the pre-made scripts available. the one in question is a simple random image displayer. after much head-banging i managed to get it to pick a gif at random from a selection, but i want/need it to do something a little more and i am now stuck....
below is the command that works: (this is only a part of the script)
$include0 = "http://www.cgbnet.co.uk/images/cgbnetlogo.gif";
if ($randomnumber== "0") {
include ("$include0");
That should give you an idea of where it's coming from, now what i need it to do is pick a image from a random list of url's that also use a cgi script to pick a random image.
e.g
$include0 = "http://domain.com/cgi-bin/rand.cgi?id=1234";
but it won't return an image.
any ideas? or is what i'm trying to do imposible?
Many thanks
Chris Billson
chris@cgbnet.co.uk