View Single Post
Re: a different sig each time
Old
  (#34)
FrostyCoolSlug
Member
 
FrostyCoolSlug's Avatar
 
Status: Offline
Posts: 318
Join Date: Mar 2004
Default Re: a different sig each time - 13-05-2004

ok, with my 'latest' script..

Make a Directory, give it a name (probably images)..
chuck all your images in there, then edit the following:

$target = getcwd() . "/images";

replace "/images" with your folder name.

If you want to use an extention which isnt in the list, change the following line

Array("PNG", "JPG", "GIF");

to

Array("PNG", "JPG", "GIF", "EXT", "EXT2", "ETC");

then just call the php file in a browser, and each time you refresh, you should get a new random image.

Then use the BBCode IMG tag, and point the URL to where your php script is, or use an <img src='http://your.domain/path/to/something.php'>

(something.php being the script filename)

and it should work..

(If you wernt being sarcastic about the explanation thing, i appologise )


=====
Craig "FrostyCoolSlug" McLure
Network Administrator of the ChatSpike IRC Network
  
Reply With Quote