RE: [PHP] Help Needed
| From: | Carl Brandenburg | Date: | Tue, 15 Oct 2002 19:17:05 +0000 |
| Subject: | RE: [PHP] Help Needed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120064@lists.php.net to get a copy of this message | ||
But then you would have to rely on the end user having a working email
client and working email account. Plus with submitting to a PHP script you
can process and format the form to fit your exact needs.
Carl
-----Original Message-----
From: Chris Boget [mailto:chris@wild.net]
Sent: Tuesday, October 15, 2002 11:49 AM
To: 1LT John W. Holmes; Pushpinder Singh Garcha;
php-general@lists.php.net
Subject: Re: [PHP] Help Needed
> The easiest way to do this would be to have your survey be a basic HTML
> page. Then use a single PHP processing page. You could just write the
value
> of $_POST to a variable and send that in your email.
> $string = implode("\n",$_POST);
> mail($to,$subject,$string);
Correct me if I'm mistaken but couldn't you get the same result simply by
setting the form's action to be a "mailto:"?
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php