The W
Views: 141131903
Main | FAQ | Search: Y! / G | Color chart | Log in for more!
15.2.12 1448
The 7 - Random - HTML Help Please Register and log in to post!
(1946 newer) Next thread | Previous thread
User
Post (6 total)
MonteCarl
Potato korv
Level: 56

Posts: 252/666
EXP: 1357054
For next: 41131

Since: 21.1.02
From: Saginaw, MI

Since last post: 1387 days
Last activity: 415 days
AIM:  
#1 Posted on 6.12.03 0945.27
Reposted on: 6.12.10 0946.28
I'm looking to have the JPG image on the splash page of my website change per visit. Y'know, have 4-5 different images, and it rotates through them everytime the page is reloaded or is visited. Any instruction on how this could be accomplished? I'm sure it's a simple CGI script or something like that, but I'm not having luck finding anything on my own as I don't know what to even search for. Help??

--Monte N
Promote this thread!
Guru Zim
SQL Dejection
Administrator
Level: 146

Posts: 1936/6165
EXP: 38350670
For next: 162716

Since: 9.12.01
From: Bay City, OR

Since last post: 66 days
Last activity: 10 days
AIM:  
ICQ:  
Y!:
#2 Posted on 6.12.03 1430.07
Reposted on: 6.12.10 1430.22
Try here

http://simplythebest.net/cgiscripts/ads.html

CRZ
Big Brother
Administrator
Level: 228

Posts: 3359/17359
EXP: 181200464
For next: 528793

Since: 9.12.01
From: ミネアポリス

Since last post: 3 days
Last activity: 3 days
AIM:  
ICQ:  
Y!:
#3 Posted on 6.12.03 1545.14
Reposted on: 6.12.10 1545.14
But those people want MONEY for their scripts! Sacrilege!

Do you care about a strict rotation through all your images, or can it be pretty much random? I could send you the random.cgi I wrote if you want. All it does is return a random filename from a directory fed to the script as a raw-HTML "Location:"

The standard example is my Pokmon avatar: Calling http://imagen.CRZ.net/pokemon/random.cgi gives you (image removed) but would probably give something else to someone else at some other time. :)
bradbice
Chorizo
Level: 29

Posts: 39/142
EXP: 133803
For next: 14083

Since: 2.1.02
From: MI

Since last post: 2184 days
Last activity: 1043 days
#4 Posted on 6.12.03 2117.50
Reposted on: 6.12.10 2119.58
There's also a great list of very basic CGI scripts(mostly Perl-written) at http://www.scriptarchive.com/.

These are great to learn from and modify if needed.
Zeruel
Thirty Millionth Hit
Moderator
Level: 137

Posts: 1861/5283
EXP: 30364450
For next: 508483

Since: 2.1.02
From: The Silver Spring in the Land of Mary.

Since last post: 638 days
Last activity: 580 days
#5 Posted on 6.12.03 2154.49
Reposted on: 6.12.10 2155.50
    Originally posted by bradbice
    There's also a great list of very basic CGI scripts(mostly Perl-written) at http://www.scriptarchive.com/.

    These are great to learn from and modify if needed.


I grabbed some PHP from a site like that to make my rotating avatar (2 pics from halloween 2001, 1 from 2002, and 1 from 2003), just like CRZs rotating pokemon pics.

If you all want to use it, just give a shout and I'll post it.
MonteCarl
Potato korv
Level: 56

Posts: 253/666
EXP: 1357054
For next: 41131

Since: 21.1.02
From: Saginaw, MI

Since last post: 1387 days
Last activity: 415 days
AIM:  
#6 Posted on 7.12.03 1003.36
Reposted on: 7.12.10 1003.46
    Originally posted by CRZ
    But those people want MONEY for their scripts! Sacrilege!

    Do you care about a strict rotation through all your images, or can it be pretty much random? I could send you the random.cgi I wrote if you want. All it does is return a random filename from a directory fed to the script as a raw-HTML "Location:"

    The standard example is my Pokmon avatar: Calling http:/ /imagen.CRZ.net/pokemon/ random.cgi gives you (image removed) but would probably give something else to someone else at some other time. :)


Random would be cool. If you could send me that script, I'll try it out. Thanks!

--Monte N
ALL ORIGINAL POSTS IN THIS THREAD ARE NOW AVAILABLE
Thread ahead: Fun with Google
Next thread: The Last Samurai
Previous thread: Have you been naughty or nice?
(1946 newer) Next thread | Previous thread
Related threads: HTML Help please? - "Linkified" - HTML Code Questions - More...
The 7 - Random - HTML Help PleaseRegister and log in to post!

The W™ message board - 7 year recycle

ZimBoard
©2001-2019 Brothers Zim
This old hunk of junk rendered your page in 0.097 seconds.