-
PHP Image Rotator
Well this is a really simple script for a random signature. The same code as used in J0shIsBackLol's signature.
PHP Code:
<?php
header("Content-type: image/png");
$images[] = "URL OF IMAGE";
$images[] = "URL OF IMAGE";
srand ((double) microtime() * 1000000);
$randomimg = rand(0,count($images)-1);
$im = imageCreateFromPng($images[$randomimg]);
imagepng($im);
imagedestroy($im);
?>
-
And he didnt twll you that your signature needs tobe png for that code ^^^
-
Well, i coded it myself but who cares, png is the best.
-
Quote:
imageCreateFromPng
I think that tells us it does :)
I think this is adapted from dd if im right?
-
-
-
I had one ages ago, I also made a script which says the person's IP etc aswell. They're pretty simple.
PHP Code:
<?php
header('content-type: image/gif');
$images = array('image1.gif','image2.gif','image3.gif');
include($images[rand(0,sizeof($images)-1)]);
?>
-
Yea, i made one ages ago, althogh since my last host didnt support GD, i used the include function to get the image data, simliar to nets
-
right 0.o how do i use in sig ?
-
You dont.
Sigs only support basic html like <b><i><u><div align="center>
No php