TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Site Suggestions
-- random display of img in sig


Posted by jdat on Jul-23-2002 12:35:

Question random display of img in sig

I'd like to know what would be the best way to proceed to have a randomly displayed image in my sig?

I thought about php but it seems that php is not allowed on the page ( did a search on the forum and found one thread where Swamper mentionned that php was not authorized )

the reason why I want to do this is cause I would like to have different sigs and if they could be randomly displayed that would be way way cool

anyone serious suggestions?


Posted by Swamper on Jul-23-2002 14:52:

I dunno if (1) would work but (2) definately would

1) Point it to a php file that is set up with a 302 redirect to a random image in the header

2) Get hosting somewhere on a linux box and set up a crontab to change your sig every minute by copying say sig1.jpg to sig.jpg and then sig2.jpg to sig.jpg and then u just link to sig.jpg


Posted by HyPeRSoNiC on Jul-30-2002 16:59:

quote:
Originally posted by Swamper
1) Point it to a php file that is set up with a 302 redirect to a random image in the header


but I thought you said that PHP is not authorized here.....


Posted by jdat on Jul-30-2002 17:52:

quote:
Originally posted by HyPeRSoNiC


but I thought you said that PHP is not authorized here.....


I myself am puzzled on this issue


Posted by HyPeRSoNiC on Jul-31-2002 23:45:

quote:
Originally posted by jdat


I myself am puzzled on this issue


swamper?


Posted by wombat on Aug-01-2002 09:34:

it would be easy as hell if you know php


Posted by jdat on Aug-01-2002 14:45:

I know php + I have a functionning script

but it can't be hosted here

this is odd


Posted by Swamper on Aug-01-2002 16:08:

quote:
Originally posted by HyPeRSoNiC


but I thought you said that PHP is not authorized here.....


I didn't say anything about having php in the signature code, what I meant was having an IMG tag pointing to a php file somewhere and within that file you have 302 redirects to various JPGs and you use whatever method you want (random, time based) to determine what JPG is returned so it'll display in your sig

I just tested that way and it works



Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.