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

Posts: 252/666
EXP: 1367724
For next: 30461

Since: 21.1.02
From: Saginaw, MI

Since last post: 1485 days
Last activity: 514 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: 147

Posts: 1936/6166
EXP: 38659563
For next: 778632

Since: 9.12.01
From: Bay City, OR

Since last post: 78 days
Last activity: 43 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: 229

Posts: 3359/17377
EXP: 182899620
For next: 1622351

Since: 9.12.01
From: ミネアポリス

Since last post: 4 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: 134852
For next: 13034

Since: 2.1.02
From: MI

Since last post: 2283 days
Last activity: 1141 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: 30602476
For next: 270457

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

Since last post: 737 days
Last activity: 679 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: 1367724
For next: 30461

Since: 21.1.02
From: Saginaw, MI

Since last post: 1485 days
Last activity: 514 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?
(1959 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.163 seconds.