Open web page on predetermined date [closed]

0

I calculate that it must be a script so that the predetermined date arrives, another page is opened instead of the current page. Ex: current index.html, arrived on January 1 does not show that index.html but index2.html. Using the schedule of the pc, notebook or cell that is opening it. Thank you very much and greetings

Throwing light on the subject: I do not have the script, normally a "refresh" script is used in x milliseconds. But what I want is: I have the current index.html page, to place a code (srcipt or php) that when the indicated date arrives (ex: 01/01/2018), I automatically open "NO" that index but " another "that I already have prepared in advance. The date should be taken as the date of the client visiting that page. In other words, the server should deliver "another index" as of 00.00 on 12/31/2017. A thousand thanks for the quick response. Jdel

    
asked by Jacinto 19.12.2017 в 20:57
source

1 answer

1

The easiest thing would be for the current index to stop being (if you have all the code in it), and you would only add a validation, depending on the date to redirect one or the other index (which would no longer be called Index ).

    
answered by 19.12.2017 в 21:57