The one and only signature creation thread

Soldato
Joined
26 Dec 2003
Posts
16,522
Location
London
Originally posted by TheBeansprout
Whoa, I've never seen this thread before:eek:

For sig rotation, use robmiller's script, it makes good use of the lesser-known PHP functions, and I defy anyone to make it smaller :p:

I'm sure I posted another one in that same thread that was smaller and worked with other image types... can't find the thread by searching, but here goes from memory:

Code:
$files = glob('{*.jpg, *.png, *.gif}', GLOB_BRACE);
header('Location: '.$files[array_rand($files, 1)]);

Stick it in the same folder as the sig images and it'll pick 'em out for you.
 
Soldato
Joined
26 Dec 2003
Posts
16,522
Location
London
I suck at Perl, but I tried writing an obfuscated one :p It presumes all your images are stored in a folder called "s" at the same level as the script.

Code:
@_ = <s/*.*>;open(f,$_[int rand(@_)]);while(<f>){print;}

Someone who's good at Perl needs to shorten it more ^__^
 
Last edited:
Soldato
Joined
26 Dec 2003
Posts
16,522
Location
London
Originally posted by Castor
Excuse my ignorance with scripts Rob(html nooblet here) but will the perl script work with ISP's that dont support php?

If they support Perl :) PHP's probably more supported than Perl tbh, I was just trying it as a challenge for myself, since I only started learning Perl the other day.
 
Soldato
Joined
18 Oct 2002
Posts
16,322
Location
Manchester
Hi, sorry to annoy, had a go making my own but I'm rubbish :(

Was wondering if anyone could use these two images to make me a sig?

Was hoping to get the band in the background and the name Nightwish (in the style of the second pic) in there somewhere also :)

http://homepages.nildram.co.uk/~vader/Nightwish 1.jpg
http://homepages.nildram.co.uk/~vader/Nightwish Background.jpg

I can't figure out how to cut the word Nightwish out or the band members, I have other pics if you need any? Any attempt would be most welcome :)
 
Joined
10 Jan 2004
Posts
9,858
Location
Poland
Hope this is what you had in mind

David1971-night.jpg
 
Soldato
Joined
26 Dec 2003
Posts
16,522
Location
London
Originally posted by robmiller
I suck at Perl, but I tried writing an obfuscated one :p It presumes all your images are stored in a folder called "s" at the same level as the script.

Code:
@_ = <s/*.*>;open(f,$_[int rand(@_)]);while(<f>){print;}

Someone who's good at Perl needs to shorten it more ^__^

Shaved it down a bit :p Only works on Linux now though, and is less obfuscated :(

Code:
@_ = <s/*.*>;print `cat $_[int rand(@_)]`;
 
Soldato
Joined
29 Mar 2004
Posts
2,926
Location
Dundee/Forfar
Originally posted by Spare Part
Secondly if possible I’m looking for a signature for the user name UpTheUs (reference to my local football side – Colchester United). I thought the name would look really cool in the style of The Who with the arrows on the letters I hope that makes sense. The club colours are blue & white stripes and I’d like to include the club badge too.

If anyone is willing to help me it would be much appreciated.
:)

Welcome to OcUK :D. Not sure this is what your looking for :confused:

up_the_us_sig.gif
 
Back
Top Bottom