Timed Php Scripts
I need the following php files:
——–
index.php – redirects the browser to other php files depending on the time in EST. It should get the exact time from http://www.timeanddate.com/
This file should show:
if 7pm at http://www.timeanddate.com/, redirect to 7-8pm.php (see below)
if 8pm at http://www.timeanddate.com/, redirect to 8-9pm.php (see below)
The code can be duplicated depending on which file to redirect. (see below)
This index.php file may be renamed as go.php if needed in the future.
—————-
7-8pm.php – index.php should redirect to this file when it’s 7pm EST already. 7-8pm.php should show the content for one hour from 7pm to 8pm based on http://www.timeanddate.com/ then reloads and goes back to index.php
8-830pm.php – index.php should redirect to this file when it’s 8pm EST already. 8-830pm.php should show the content for 30 minutes from 8pm to 8:30pm based on http://www.timeanddate.com/ then reloads and goes back to index.php
There should be a placeholder on these php files to add html codes.
These files should be replicable so I can create other php files like 1-2pm.php, 1-130pm.php, 2-3pm.php, and so on THEN I can just add a code on index.php to redirect to them.
—————-
I can send you some php files to copy to show exact time based on EST/New York Time.



