how to : another body background image every day?

C

Chris F.A. Johnson

how to : another body background image every day?

Any way you like.

Possibilities include uploading a different graphic to the same
location every day and writing a script (CGI, or a cron job) to
change the style sheet every day.
 
J

Jukka K. Korpela

Scripsit Chris F.A. Johnson:
Possibilities include uploading a different graphic to the same
location every day and writing a script (CGI, or a cron job) to
change the style sheet every day.

.... and writing a script, installed as a CGI script, that generates and
returns an image so that it uses the current day number as a parameter. You
would then use a reference to the script in a url(...) construct in CSS.

This probably makes no sense, but neither does the original request. It's
doable, though, albeit not trivially.
 
A

Andy Dingley

Possibilities include uploading a different graphic to the same
location every day and writing a script (CGI, or a cron job) to
change the style sheet every day.

Why do both? Shouldn't just one of them alone be adequate?

I'm assuming that a cron job would touch the file as well as copying
it, so that the server responds with appropriate headers rather than a
304 Not modified
 
C

Chris F.A. Johnson

Why do both? Shouldn't just one of them alone be adequate?

I didn't say do both; I gave two possible methods ("Possibilities
include...").
I'm assuming that a cron job would touch the file as well as copying
it, so that the server responds with appropriate headers rather than a
304 Not modified

There are many ways it can be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top