GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick script question (https://gfy.com/showthread.php?t=148481)

gothweb 06-30-2003 04:33 PM

Quick script question
 
What script would I need to use to make a random image load on an HTML page? The idea is to have, say, four options, and a random one of them is picked each time the page loads.

jovigirl 06-30-2003 04:41 PM

Use java script if you dont have cgi enabled.
If your server supports cgi just use src=random.cgi
ICQ me if you need help to set it up

Anothers 06-30-2003 04:42 PM

java script its just what you need

ha ha ha

gothweb 06-30-2003 04:44 PM

I can use cgi or hahahahahahahahahaha.

Anothers 06-30-2003 04:45 PM

so cgi or php (because some can have java script disabled)

gothweb 06-30-2003 04:48 PM

I want to add something to an existing html page, so links don't have to change. I would be happy with a default image showing up for people who don't has j-s on.

Anothers 06-30-2003 04:51 PM

send me an email
anothers at interia.pl

tell exactly what should be done

if it can be in php

jovigirl 06-30-2003 05:07 PM

why would you use php for such an easy thing?
do you think it's worth to build up a sql database for a simple random image???
or am I losing myself?
I have a random cgi script that works perfectly both for random images or pages.

Anothers 06-30-2003 05:47 PM

Quote:

Originally posted by jovigirl
do you think it's worth to build up a sql database for a simple random image???or am I losing myself?
who said anything about database?

gothweb 06-30-2003 05:55 PM

Thanks to Anothers for a bunch of help with the script. It is up and working great now, so I can offer my affiliates random banners. I plan to add some other uses in the near future. Cool stuff.

JDog 06-30-2003 05:59 PM

Quote:

Originally posted by Anothers
so cgi or php (because some can have java script disabled)
php, that's what i'd recommend

Anothers 06-30-2003 06:14 PM

Quote:

Originally posted by gothweb
Thanks to Anothers ...
no problem

Contact me (but next week please - im out of town this week)
if you want some help with other features.

hmm 5 posts in 1 thread - i must get this SWOIT sig :thumbsup


All times are GMT -7. The time now is 01:59 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123