Post by MFB on Feb 7, 2005 15:10:50 GMT -5
Here's a place where codes can be given out and such. Like for example, this one:
This code is for creating a randomized sig. Like mine, for example. One of my four sigs appears at each load of a page. To use you will need a free hosting place that allows .php code. RipWay is a good one. First upload the pics you want to use, then go to "Create Index" in "My Files." Paste the above code, editing these things:
On the second line, the one with $img_folder, edit the address of the files you are uploading. This is the general album your pics are in. It should be featured on the "My Files" section, right under the place where it says "The URL to this folder is..." Pase that url into the qotes, but don't leave the last backslash in the url. Remove it.
On the third line, after $images = array, edit the names of the pics you want. For example, one of my sigs is called "MFBsig3.jpg" Edit the name of your pic like such, using the name then extention. Put each inbetween quotes, and separate each pic name by a comma.
Then, all you do is save this index, remane it in "My Files" as "sig.php" and link to it in your signature like a normal image.
<?php
$img_folder = 'http://www.bobbyhensley.com/images/banners';
$images = array('banner01.jpg', 'comingsoon01.jpg');
$num_images = count($images) - 1;
$rand_num = rand(0, $num_images);
Header("Location: " . $img_folder . "/" . $images[$rand_num]);
?>
This code is for creating a randomized sig. Like mine, for example. One of my four sigs appears at each load of a page. To use you will need a free hosting place that allows .php code. RipWay is a good one. First upload the pics you want to use, then go to "Create Index" in "My Files." Paste the above code, editing these things:
On the second line, the one with $img_folder, edit the address of the files you are uploading. This is the general album your pics are in. It should be featured on the "My Files" section, right under the place where it says "The URL to this folder is..." Pase that url into the qotes, but don't leave the last backslash in the url. Remove it.
On the third line, after $images = array, edit the names of the pics you want. For example, one of my sigs is called "MFBsig3.jpg" Edit the name of your pic like such, using the name then extention. Put each inbetween quotes, and separate each pic name by a comma.
Then, all you do is save this index, remane it in "My Files" as "sig.php" and link to it in your signature like a normal image.
[IMG]http://something/1/2/sig.php[/IMG]