|
Posted by password on 11/10/06 22:11
"Steve" <no.one@example.com> wrote in message
news:wv05h.30$3i6.13@newsfe03.lga...
>
> "Steve" <no.one@example.com> wrote in message
> news:ak05h.24$3i6.1@newsfe03.lga...
> |
> | "password" <fatpipe@epiptaf.com> wrote in message
> | news:ePmdnesDuJN_GcnYRVnyiA@eclipse.net.uk...
> || hello, i am using an automatic image rotator (php) which rotates images
> on
> || refresh or everytime a page is accessed and i was wondering if it is
> || possible to make the image change on a daily basis instead. ive been
> | hunting
> || the net but dont seem to be able to find a script that would do this.
> ||
> || i am assuming it is possible but my knowledge of php is very limited.
> ||
> || any help or pointers would be gratefully received and acknowledged.
> |
> | if you plan on rotating by 90 degrees each day, then simply use modulous
> | math to determine to angle based on the calendar day. granted, oct. 31
> will
> | display the image at the same rotation as sept. 1, but you have to
decide
> if
> | that's important or not.
> |
> | there are 4 directions if 90 degrees per day...so,
> |
> | $angle = date('d') % 4 * 90;
>
> sorry...didn't finish reading the whole op. plenty of examples on the web
of
> what you're asking to do.
>
yeah no prob with your mistake i think my explanation is one of the reasons
im having difficulty googling for an answer. im unsure as to the correct
term for what i am looking for.
Navigation:
[Reply to this message]
|