Please I want to make a php script which pulls up a page, and after a specified date, pulls up another script, e.g my sales page contains a countdown timer that expires on a specified date, and after that date, a new page should be pulled up.
Simple Php script to load different pages for different days
6
Please I want to make a php script which pulls up a page, and after a specified date, pulls up another script,
e.g my sales page contains a countdown timer that expires on a specified date, and after that date, a new page should be pulled up.
I did the script below:
Please any suggestions on making this work?
Thanks.
e.g my sales page contains a countdown timer that expires on a specified date, and after that date, a new page should be pulled up.
I did the script below:
PHP Code:
date_default_timezone_set("Africa/Lagos");
$date=date("d F Y");
if ($date <= '31 December 2011')
{
include 'pagedecember.html';
}
else
include 'pagejanuary.html';
Please any suggestions on making this work?
Thanks.
- KirkMcD
- [1] reply
- upscholar200
- IM-software
- upscholar200
- gaetanoc
Next Topics on Trending Feed
-
6