Re: trigger email with submit button
| From: | Ron Clark | Date: | Fri, 03 Aug 2001 20:12:06 +0000 |
| Subject: | Re: trigger email with submit button | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61173@lists.php.net to get a copy of this message | ||
"scott [gts]" wrote:
> you might, however, want to do some format checking
> on the $from, $to, etc... variables.
>
> if they're coming from the user
>
> > if ($submit) {
> > mail($from,$to etc...)
> > }
> >
> > any input is kindly regarded
If you are creating a script for the general user and not password
protected then you are creating spammer heaven similar to the
formmail.pl perl script when you allow users to type in "to", "from" and
"cc" fields and the spams will all be coming from your server.
Ron Clark
Sysadmin/Webmaster
Armstrong Atlantic State University