Rather than having a syntatical problem, my problem is application-based in nature.
On a site I am coding in PHP (of course), I would like several things to happen at a specfic time every two weeks:
-- I would like a file's name changed from xxx_yy.php to xxx.php
-- I would like the main page and another page to add a link to this new file.
I know that a php script CRON can easily accomplish the first task (although I'm still trying to work out the kinks in that) - the second task I am having difficulty with. At first I tried to create a function that would analyze the server's time against the fixed time in the future and then reveal already coded text, but the implementation I used seemed a little too bloated. There has to be an easier way.
Does anyone have any suggestions about ways to do this?