Re: [PHP] Newbie Question - Form To Email Needed

2007-05-07 Thread Richard Lynch
On Fri, May 4, 2007 9:23 pm, revDAVE wrote:
> I have a form on page one - and would like to submit to a second page
> in PHP
> that could grab the fields and send it out as an e-mail.
>
> Are there any links that show how do this?

http://php.net/faq.php

Somewhere in there is a question about processing form mail, with
sample, as I recall.

You also should be able to find a few thousand examples in Google.

I suspect:
http://php.net/mail
also has examples and discussion in the "mail" function link.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread Jim Lucas

Q: is there some kind of mail command like this for PHP?


yes, it is called mail()

check out this example, it is short but to the point.

http://us.php.net/mail#57473

Jim Lucas

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
On 5/4/2007 7:40 PM, "Brad Sumrall" <[EMAIL PROTECTED]> 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:







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))




Name is: #form.name#
Email is : #form.email#

Thanks, 
US


Q: is there some kind of mail command like this for PHP?



> 
> Brad
> 
> -Original Message-
> From: revDAVE [mailto:[EMAIL PROTECTED]
> 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" <[EMAIL PROTECTED]> wrote:
> 
>> Where are the fields?
> 
> 
> Hi Brad,
> 
> 
> Just a basic form with a few fields inside like - name - address etc lie:
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Thanks - RevDave
> [EMAIL PROTECTED]
> [db-lists]
> 
> 
> 
> 
> 
> 
> 


--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
On 5/4/2007 7:29 PM, "Brad Sumrall" <[EMAIL PROTECTED]> wrote:

> Where are the fields?


Hi Brad,


Just a basic form with a few fields inside like - name - address etc lie:








--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Newbie Question - Form To Email Needed

2007-05-04 Thread revDAVE
 Hi folks, 

I have a form on page one - and would like to submit to a second page in PHP
that could grab the fields and send it out as an e-mail.

Are there any links that show how do this?


Thanks in advance - Dave


--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php