Using only PHP you can't, something has to trigger the script like as suggested a cronjob on Apache or you can use a browser if you're sure you'll have at least one visitor a day. The first visitor trips the send script then set a flag in a file or table that stops the second user sending the mail. The flag is checked every time.
Bookmarks