TIME BASED URL REDIRECT
Posted: Mon Aug 07, 2006 7:09 am
Hi All
i am pretty new to PHP so please bare with me im currently writing a website that has a call me now feature
what i want to do is place a link on the hompage that points to a script that wil retrieve the time and date from MY HOSTING SERVER not the users local server and if it is between monday and friday and the hours of 0900 and 1800 i want them to be directed to a page called support open.htm if the time is anything else to be redirected to a page called support closed.htm
i have been scouring the web but i have found nothing that helps i did find a html script that i have tested over the last couple of days but thats flaky at best
after reading thru this forum thought this would be the best place to look i am pretty desperate for this to be up and running as this is all thats left to do so i can launch the site
thanks in advance
jon
i am pretty new to PHP so please bare with me im currently writing a website that has a call me now feature
what i want to do is place a link on the hompage that points to a script that wil retrieve the time and date from MY HOSTING SERVER not the users local server and if it is between monday and friday and the hours of 0900 and 1800 i want them to be directed to a page called support open.htm if the time is anything else to be redirected to a page called support closed.htm
i have been scouring the web but i have found nothing that helps i did find a html script that i have tested over the last couple of days but thats flaky at best
after reading thru this forum thought this would be the best place to look i am pretty desperate for this to be up and running as this is all thats left to do so i can launch the site
thanks in advance
jon