Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q1657, September 13, 2001 at 22:45:51:

You are here: irt.org | About | Feedback | 3158 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1657

Sent by
Evan Sims on September 13, 2001 at 22:45:51:

Worth:
Worth reading

Length:
Just right

Technical:
Just right

Comments:
One technical limitation of this script to note: Notice the Math.random() usage at the end of the image. This is used so user's browsers will not used cached versions of images by appending a string of characters to an image's HTTP request. Servers will usually ignore this.

However, this method will probably not work if you are grabbing an image from a program, such as a CGI script, that is dependant on command lines (or 'query strings'). CGI scripts are commonly used to pull random images from a database, as is the case in many webcam directories.

Keep this in mind before intergrating this script. :)


Other feedback on 'irt.org FAQ Knowledge Base Q1657' - show all

©2018 Martin Webb