[PHP] Lookimg for a script....

2008-07-15 Thread Pete Holsberg
Can anyone point me to a (free) script that will ask for a person's email address and username, and then look up the password that's in a plain text file? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question about sending email

2008-04-17 Thread Pete Holsberg
Ooops! processor.php is now: $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'].

Re: [PHP] Newbie question about sending email

2008-04-17 Thread Pete Holsberg
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): http://".$

Re: [PHP] Newbie question about sending email

2008-04-17 Thread Pete Holsberg
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 re

Re: [PHP] Newbie question about sending email

2008-04-16 Thread Pete Holsberg
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: http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

Re: [PHP] Newbie question about sending email

2008-04-16 Thread Pete Holsberg
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 phpFormGenerato

[PHP] Newbie question about sending email

2008-04-16 Thread Pete Holsberg
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