Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Dynamic signature. - PHP Code Bank


Dynamic signature.
How I load my dynamic signature. Uses GD to load png files.
                <?PHP
/*
Files should be named sig[number].png, as in sig0.png.
They should be in the same directory as this php file.
You could implement $dir varibale to fix this.
Also loop through the dir and make array of image files.
I tried didn't work immediately so naturally I gave up :D
*/
header('Content-Type: image/png');
$file = mt_rand(0,4);
$im = imagecreatefrompng("sig$file.png");
imagesavealpha( $im, true );
imagepng($im);
imagedestroy($im);
?>

            
Comments
Sorry but there are no comments to display