Er yea - just call the mail() function at the appropriate time in your

However IMO if you need to log this sort of information then using a
database is far more appropriate than sending emails - especially on a busy

-----Original Message-----
From: Chase [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 14:24
Subject: [PHP] Newbie Mail() Question...

Is there a way to have an email sent to a specified email address either
when a page is accessed, or when a file is downloaded?

Maybe I should just be logging the info into a table?

Basically, I am trying to set up a secure site that would send the sysadmin
an email when a file has been downloaded with reference to the page title
and/or filename.

I have a feeling that this may be a bit too complicated for a newbie like



PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to