ok, just create another file called random_signature.png and upload it to your webroot/sig folder, with the following contents:
<?php
$image_info = array(
'image' => 'sample_signature.gif'
);
$image_text_ary = array();
$image_text_ary[] = array(
array(
'x' => 8,
'y' => 6,
'color' => array(50, 100, 180),
'font' => 9,
'text' => " This is my second dynamic signature!"
),
array(
'x' => 8,
'y' => 22,
'color' => array(50, 100, 180),
'font' => 9,
'text' => " It could be used to show your favorite quotes."
)
);
$image_text_ary[] = array(
array(
'x' => 8,
'y' => 6,
'color' => array(50, 150, 100),
'font' => 9,
'text' => " This is ALSO my second dynamic signature!"
),
array(
'x' => 8,
'y' => 22,
'color' => array(50, 150, 100),
'font' => 9,
'text' => " It all depends on your imagination ;-)"
)
);
$random = time() % count($image_text_ary);
$image_text = $image_text_ary[$random];
include('./includes/dynamic_gd_image.php');
?>This is how it looks like:

If you wish to see the random effect, just click here to pop it up and refresh the new window several times.
Creating a random signature (text)
Submitted on Mon, 2006-01-30 21:00









Recent comments
1 year 33 weeks ago
1 year 36 weeks ago
1 year 36 weeks ago
1 year 37 weeks ago
1 year 38 weeks ago
1 year 38 weeks ago
1 year 41 weeks ago
1 year 41 weeks ago
1 year 43 weeks ago
1 year 44 weeks ago