in reply to Email on every page hit
I want an email on every page hit.Boy you really don't expect your page to be popular, do you?
If I were you, I'd prepare myself for a popularity burst, collect info per page hit, and send the mail only as a summary, once an hour or so, and only if there are any hits. You could slow down the cycle if you want fewer mails and don't care so much about the delay.
The basic idea is that you log every hit in a dedicated log file, and set up a cron job to check the log, and mail you the summary.
Update: Oh you're on Windows, so you'll have to figure out a Windows alternative for cron.
|
|---|