The one and only signature creation thread

Originally posted by Miguél
Can I have this one mate? If you could add Miguèl in the bottom left that would be great :D
Sure thing - sorry it took a few days to do - I wasn't online yesterday...
Miguel.txt

Hope you like.


Oh, and Dexcile`, star out your swearies fully mate...
 
Originally posted by gord
any likes or dislikes is good

women, cars??

ideas on a theme?

Likes:

Aviation
Nottingham Forest
Ferraris
Dark Colours
History
Travel

Women obviously ! Will have to get a pic of the gf at some point and maybe incorporate that.

Oh well thats for another day :)

Maybe something which has my username in it ?
 
Does anyone fancy knocking me another one up? New year, new sig etc :p

Id like it the same sort of size as my current, also if you could keep it simple with a Ned Flanders theme I would really appreciate it.

Thanks in advance..
 
Originally posted by smevans
How ?

/dumb arse mode off.

you need to upload your sigs into a sort of .php script and have that on the net....if you look at my sigs properties you'll see its not a .jpg its a .php...but i didnt do mine, i couldnt figure it out, so i got someone else to for me :D

JonRohan i'll have a go at that metal theme music one
 
Originally posted by smevans
How ?

/dumb arse mode off.


Find some hosting with PHP. Stick this in a directory, and then make a sub directory of it called "sigs", in which you'll put all your sig images. Then put the URL of this script into image tags in your sig, et voila, c'est finit :)

The script:

Code:
<?php

$dh  = opendir('sigs');
while (false !== ($filename = readdir($dh))) {
   if($filename != '.' && filename != '..') $arr[] = $filename;
}
header('Location sigs/'.$arr[rand(0, count($arr) - 1)]);

?>

Edit: now even shorter. I wrote one even shorter than this in Perl if you want it:

Code:
<?php

$dh  = opendir('s');
while (false !== ($filename = readdir($dh))) if($filename != '.' && $filename != '..') $arr[] = $filename;
header('Location s/'.$arr[rand(2, count($arr) - 1)]);

?>

and in Perl for your JPEGs in a folder called "s":

Code:
#!/usr/bin/perl
print "Content-type: image/jpeg\n\n";
@_ = <s/*.*>;print `cat $_[int rand(@_)]`

Edit 2: Even shorter with PHP versions > 4.3.0 :cool:

Code:
$files = glob('{*.jpg,*.png,*.gif}', GLOB_BRACE);
readfile($files[array_rand($files, 1)]);
 
Last edited:
Back
Top Bottom