Well you won't use PHP as any PHP file has to be called on before it can run. What you are going to do is use a CRON job. This is a feature of the server.
This belongs in the other server side etc forum. You will also find some topics on CRON jobs in that forum.
Ill move you there.
CodingForums Supreme Overlord
All Hail Spookster