Make sure you have global variables set on in your php.ini

If you can't change this, then try doing $_POST['variable name'] to get
the form fields...

Unless your submitting your form using GET ofcourse, then use $_GET

chris kranz
fatcuban.com


-----Original Message-----
From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]] 
Sent: Sunday, January 19, 2003 6:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] New guy to PHP Mail Parse question

Hi everyone - new to PHP , Cold Fusion background...

I've got a client with a mail form on their site that needs to be posted
to 
an email account and it doesn't work he asked me to look at it...  it's
on 
Windows  and the form has fields like this:

first_name
last_name
dayphone_1
dayphone_2
dayphone_3
mortgage_past_due
reason_for_applying

In the PHP process page that he sends the form to I think it's a simple 
problem but it sends an email but the fields are left blank  - what's
wrong 
with the following code?





<?php

mail("[EMAIL PROTECTED]","Web Site Application","

hey, a form:

first name: $first_name

last name: $last_name

day phone: $day_phone_1 $day_phone_2 $day_phone_3

--------------------------

Is Your Mortgage Current Or Past Due: $mortgage_past_due

Reason for Applying: ---------------------------

$reason_for_applying

------------------------------------------------

","From: [EMAIL PROTECTED]\n");


header("location:form_submitted.html\n");


?>


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




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

Reply via email to