PDA

View Full Version : Need script that forwarding visitors according to date



platon
11-27-2006, 09:25 PM
Hi, I am looking for a script that untill a certain date (ex dec 10th)automaticly forwards all my visitors to one page, after 10th of dec I want all visitors to be sent to another page.

Can someone help me?

// Josef Magnusson

codeexploiter
11-28-2006, 03:41 AM
1. Based on whose date you want to forwards your visitor to respective page? I mean whether the date checking is based on client's machine or your server.

If it is based on clients PC date it need not be correct as you expected. So need not get the desired effect. This can be done using client side JavaScript.

If this is based on the time of your server then it can be done using your server-side tool like ASP, PHP, ColdFusion, Java, etc.

Please confirm what you want