Daniel Brown has written on 4/16/2008 5:20 PM:
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
Why do I need both from_addr and field_4 (Email Address)? Could I just use
$from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form
On Thu, Apr 17, 2008 at 12:17 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
[snip!]
OK. Here's what I have now for processor.php:
?php
//
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
$where_form_is =
Daniel Brown has written on 4/17/2008 12:29 PM:
I'll reiterate:
Note the mail() parameters. There's no header information there.
RTFM: http://php.net/mail
You just have your mail() function wrong. Reiterating my code as
well (with updated field_4 data):
?php
On Thu, Apr 17, 2008 at 12:37 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
OK. I don't see a mail() in your code. Would it be
mail($to, $subject, $body, $headers);
?
Entirely my fault, Pete. I'm a moron sometimes. Could've sworn
it was in there. Sorry about that.
Yes, you've
Ooops!
processor.php is now:
?php
$where_form_is =
http://.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF'])./;
$to = [EMAIL PROTECTED],[EMAIL PROTECTED];
$subject = SUBSCRIBE;
//$from = $_POST['field_4']; == this was the culprit
$body = Form data:
Name: .$_POST['field_1'].
On Thu, Apr 17, 2008 at 12:50 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
1E6 thank yous!!
My TI SR-10 couldn't handle that calculation and blew up in my hand. ;-P
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
I wanted a form for people in my community to use to subscribe to a
yahoo group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator
from SourceForge.
It works fine except that the email that gets sent to yahoo appears to
come from my web host's domain!
How can
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
I wanted a form for people in my community to use to subscribe to a yahoo
group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator from
SourceForge.
It works fine except that the email
Daniel Brown has written on 4/16/2008 4:04 PM:
On Wed, Apr 16, 2008 at 3:53 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
I wanted a form for people in my community to use to subscribe to a yahoo
group that I run.
Not being a PHP programmer, I created the form with phpFormGenerator from
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
The entire processor.php file is:
?php
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
mail([EMAIL PROTECTED],[EMAIL PROTECTED],SUBSCRIBE,Form
data:
Name: .
Daniel Brown has written on 4/16/2008 4:56 PM:
On Wed, Apr 16, 2008 at 4:39 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
The entire processor.php file is:
?php
$where_form_is=http://.$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),/));
mail([EMAIL PROTECTED],[EMAIL
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg [EMAIL PROTECTED] wrote:
Why do I need both from_addr and field_4 (Email Address)? Could I just use
$from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form processor,
and then forgot to edit the email accordingly.
12 matches
Mail list logo