Banners and Time

  • Thread starter Roy Schestowitz
  • Start date
R

Roy Schestowitz

I have been trying out Entropy Banner which is a CGI banner rotator, but it
cannot provide me with what I ideally need. Is there a way of displaying
different banners at different times of the day (without JavaScript
preferably)?

Thanks,
Roy
 
R

Roy Schestowitz

Frank said:
Hi Roy,

what about PHP? Something like this

Look at http://www.hotscripts.com/PHP/Scripts_and_Programs/Ad_Management/

for PHP Banner rotators.

Kind regards
Franky

That's an excellent and extensive source. I still can't find anything that
makes mentioning of _time_. I could implement that myself, but there must
be something out there already. I want to display a different banner at
different times of the day and suit it for different parts of the world.

I could take GMT time and then have a switch case... maybe I'll give it a go
myself, but it's worth re-using... not worth the time otherwise because
it's a kitschy idea...

Thanks,
Roy
 
F

Frank Lewandowski

I could take GMT time and then have a switch case... maybe I'll give it a go
myself, but it's worth re-using... not worth the time otherwise because
it's a kitschy idea...

Hi Roy,

everything is possible. But you have to find a way doing it. So do you
decide to use PHP? Maybe i could help you in developing such a script.

The first thing is, you do a bit brainstorming what this script is all
about. What features have to be included. If you still need help, just
email me.

Kind regards
Franky
 
S

Stephan Bird

In
Roy Schestowitz said:
I have been trying out Entropy Banner which is a CGI banner rotator,
but it cannot provide me with what I ideally need. Is there a way of
displaying different banners at different times of the day (without
JavaScript preferably)?

Can you run XSSI on your server? How does something like the following
(untested)

<!--config timefmt="%H" -->
<!--if expr "\"$DATE_LOCAL\" < 6" -->
<IMG SRC="asleep.jpg">
<!--elif expr "\"$DATE_LOCAL\" < 22" & -->
<IMG SRC="awake.jpg">
<!--else -->
<IMG SRC="asleep.jpg">
<!--endif -->

work?

i.e. between 6 a.m. and 10 p.m. local time a picture referring to a state of
being up is displayed, else a picture of being asleep...?

Stephan Bird
 

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

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,134
Latest member
Lou6777736
Top