Re: Newbie Question - Form To Email Needed
| From: | revDAVE | Date: | Sat, 05 May 2007 03:35:20 +0000 |
| Subject: | Re: Newbie Question - Form To Email Needed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-254462@lists.php.net to get a copy of this message | ||
On 5/4/2007 7:40 PM, "Brad Sumrall" <Brads@ftnco.com> wrote:
> Once again my friend,
> Where are the fields?
> There physical 411?
> Database?
> Incoming email?
> Out going email?
> Flat file?
Hello Brad,
I apologize if I not being clear enough, - I was thinking that there would
simply be a basic Web-Page (page 1) with EMPTY input fields ( that are not
tied to a data source at all) on a form so that the user could fill it out -
click the submit button - and it could go to a second page (PHP) - that can
process the incoming fields and send an email to an email address...
PAGE 1: Just a basic web page form with a few fields inside like - name -
address etc:
<form action="sendmail.php" method="post">
<input name="name" type="text">
<input name="email" type="text">
</form>
PAGE 2: ... Some kind of PHP sendmail function...
- this is the way I would do it in ColdFusion ( simply going from page 1 to
page 2 that would send an email e-mail (with no database needed))
<cfmail
to="info@domain.com"
from="somebody"
server="mail.domain.com"
subject="Some mail">
Name is: #form.name#
Email is : #form.email#
Thanks,
US
</cfmail>
Q: is there some kind of mail command like this for PHP?
>
> Brad
>
> -----Original Message-----
> From: revDAVE [mailto:coolcat@hosting4days.com]
> Sent: Friday, May 04, 2007 10:36 PM
> To: php-general@lists.php.net
> Cc: Brad Sumrall
> Subject: Re: [PHP] Newbie Question - Form To Email Needed
>
> On 5/4/2007 7:29 PM, "Brad Sumrall" <Brads@ftnco.com> wrote:
>
>> Where are the fields?
>
>
> Hi Brad,
>
>
> Just a basic form with a few fields inside like - name - address etc lie:
>
>
>
> <form action="sendmail.php" method="post">
> <input name="name" type="text">
> <input name="email" type="text">
> </form>
>
> --
> Thanks - RevDave
> CoolCat@hosting4days.com
> [db-lists]
>
>
>
>
>
>
>
--
Thanks - RevDave
CoolCat@hosting4days.com
[db-lists]