php-db | 2001062
Date: 06/20/01
- Next message: Andreas D. Landmark: "Re: [PHP-DB] newbie: Trying to select a database in php"
- Previous message: Martin Langlois: "Re: [PHP-DB] Query through two tables"
- In reply to: Lester June Cabrera: "Re: [PHP-DB] how to "email article to a friend""
- Next in thread: Brian Paulson: "RE: [PHP-DB] how to "email article to a friend""
- Reply: Brian Paulson: "RE: [PHP-DB] how to "email article to a friend""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 20.06.2001 08:52, you wrote:
>You can query your database to extract those info, compose your email and
>use mail( ) function to send it.
that is _not_ a wise way to do it, you should include some form of
restrictions on how many
emails can be sent to a single account within X minutes for example.
Further you should
restrict by HTTP_REFERER (yep it's poor, but it's better than nothing) so
that a automated
script can't use your email-article-to-a-friend function to "spam"
thousands of people without
any work...
There are quite a few considerations to take into account when writing a
email-article-to-a-friend
function, just to be on the safe side...
--
Andreas D Landmark / noXtension
Real Time, adj.:
Here and now, as opposed to fake time, which only occurs there
and then.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andreas D. Landmark: "Re: [PHP-DB] newbie: Trying to select a database in php"
- Previous message: Martin Langlois: "Re: [PHP-DB] Query through two tables"
- In reply to: Lester June Cabrera: "Re: [PHP-DB] how to "email article to a friend""
- Next in thread: Brian Paulson: "RE: [PHP-DB] how to "email article to a friend""
- Reply: Brian Paulson: "RE: [PHP-DB] how to "email article to a friend""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

