Re: [PHP] form inside an email

2005-06-14 Thread Tom Rogers
Hi,

Wednesday, June 15, 2005, 4:11:26 AM, you wrote:
R> Hi,

R> I would like to send a form to customers to get some information.

R> The form will be a HTML email and collect a few bits of data...name. age
R> etc.

R> Can I put this inside an html email so customers do not have to open an
R> external webpage to fill in the fields. How can this then be processed?

R> If this can be done in php then great. If not any other suggestions are
R> welcome.

R> Ross 


I think you will find as a security measure most e-mail clients will
not submit a web form.

-- 
regards,
Tom

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



RE: [PHP] form inside an email

2005-06-14 Thread Mike Johnson
From: Ross [mailto:[EMAIL PROTECTED] 

> Hi,
> 
> I would like to send a form to customers to get some information.
> 
> The form will be a HTML email and collect a few bits of 
> data...name. age etc.
> 
> Can I put this inside an html email so customers do not have to 
> open an external webpage to fill in the fields. How can this 
> then be processed?
> 
> If this can be done in php then great. If not any other 
> suggestions are welcome.

Looks like you've already gotten answers, but I wanted to mention that
forms in HTML email are a big spam flag. If you're mailing to a large
group or to certain domains/spam handlers, you may easily get flagged
for bulk mail.

-- 
Mike Johnson Smarter Living, Inc.
Web Developerwww.smartertravel.com
[EMAIL PROTECTED]   (617) 886-5539

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



RE: [PHP] form inside an email

2005-06-14 Thread Jim Moseby
> Hi,
> 
> I would like to send a form to customers to get some information.
> 
> The form will be a HTML email and collect a few bits of 
> data...name. age 
> etc.
> 
> Can I put this inside an html email so customers do not have 
> to open an 
> external webpage to fill in the fields. How can this then be 
> processed?
> 
> If this can be done in php then great. If not any other 
> suggestions are 
> welcome.
> 


Do you need your PHP script to generate the email and send it, or are you
just asking if the form in the email can be submitted to and processed by a
PHP script?  In either case the answer is yes.  If the former, the example
in the manual for 'mail()' will send you in the right direction, if the
latter simply make the form target= http://www.example.com/yourscript.php.

JM

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



Re: [PHP] form inside an email

2005-06-14 Thread abrea
Doesn't this work?:
inside your email:
http://yoursite.com/yourpage.php";>




yourpage.php:


Alberto Brea
[EMAIL PROTECTED]

-Original Message-
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Date: Tue, 14 Jun 2005 19:11:26 +0100
Subject: [PHP] form inside an email

> Hi,
> 
> I would like to send a form to customers to get some information.
> 
> The form will be a HTML email and collect a few bits of data...name.
> age 
> etc.
> 
> Can I put this inside an html email so customers do not have to open an
> external webpage to fill in the fields. How can this then be processed?
> 
> If this can be done in php then great. If not any other suggestions are
> welcome.
> 
> Ross 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>