Re: Time release type question
| From: | Jason Wong | Date: | Wed, 29 May 2002 04:14:09 +0000 |
| Subject: | Re: Time release type question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99616@lists.php.net to get a copy of this message | ||
On Wednesday 29 May 2002 11:52, Dr. Indera wrote:
> I am in the planning stage of building an online course room. Each week I
> need to upload pages for that weeks lesson and assignments. What I want to
> know is if there is a way for me to have all 8 weeks of the course pages
> created and upload them all at one time, but only have certain pages
> 'visible' based on the current date.
>
> This is an example of what I'm talking about.
>
> Week 1 pages would be visible starting June 3rd
> Week 2 pages would be visible starting June 10th
> Week 3 pages would be visible starting June 17th
Am I missing something? It's just a simple matter of checking the current date
and if it exceeds defined threshold (say June 3rd) then display the page
otherwise display an error message or redirect or whatever.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
I have a very strange feeling about this...
-- Luke Skywalker
*/