RE: [PHP] Newbie Mail() Question...
| From: | Rich Gray | Date: | Wed, 27 Nov 2002 14:47:11 +0000 |
| Subject: | RE: [PHP] Newbie Mail() Question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126287@lists.php.net to get a copy of this message | ||
Er yea - just call the mail() function at the appropriate time in your
script...
http://www.php.net/manual/en/function.mail.php
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
site...
Rich
-----Original Message-----
From: Chase [mailto:chase@ck2000.biz]
Sent: 27 November 2002 14:24
To: php-general@lists.php.net
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
me...
...Suggestions?
Chase
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php