The W
Views: 139022948
Main | FAQ | Search: Y! / G | Calendar | Color chart | Log in for more!
10.12.18 0718
The W - Random - HTML Help Please
This thread has 2 referrals leading to it
Register and log in to post!
Thread rated: 7.29
Pages: 1
(2100 newer) Next thread | Previous thread
User
Post (6 total)
MonteCarl
Potato korv








Since: 21.1.02
From: Saginaw, MI

Since last post: 1319 days
Last activity: 348 days
#1 Posted on | Instant Rating: 5.10
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








Since: 9.12.01
From: Bay City, OR

Since last post: 47 days
Last activity: 35 days
ICQ:  
#2 Posted on | Instant Rating: 9.41
Try here

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





Willful ignorance of science is not commendable. Refusing to learn the difference between a credible source and a shill is criminally stupid.
CRZ
Big Brother
Administrator








Since: 9.12.01
From: ミネアポリス

Since last post: 1 day
Last activity: 1 day
ICQ:  
#3 Posted on | Instant Rating: 8.65
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 but would probably give something else to someone else at some other time. :)



CRZ
bradbice
Chorizo








Since: 2.1.02
From: MI

Since last post: 2117 days
Last activity: 975 days
#4 Posted on | Instant Rating: 7.76
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








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

Since last post: 571 days
Last activity: 513 days
#5 Posted on | Instant Rating: 4.05
    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.




"The band is OUT ON THE FIELD!!!"

MonteCarl
Potato korv








Since: 21.1.02
From: Saginaw, MI

Since last post: 1319 days
Last activity: 348 days
#6 Posted on | Instant Rating: 5.10
    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 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
Thread rated: 7.29
Pages: 1
Thread ahead: Fun with Google
Next thread: The Last Samurai
Previous thread: Have you been naughty or nice?
(2100 newer) Next thread | Previous thread
I'm actually looking forwards to this one, as I was disappointed in Hannibal. (The book and the movie..) I've got tickets to an advance screening next Tuesday and if all goes well, I'll let you know what I thought...without any spoilers.
- cranlsn, Red Dragon: Will It Suck? (2002)
Related threads: HTML Help please? - "Linkified" - HTML Code Questions - More...
The W - Random - HTML Help PleaseRegister and log in to post!

The W™ message board

ZimBoard
©2001-2018 Brothers Zim

This old hunk of junk rendered your page in 0.069 seconds.