============================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>for rcr - created by phpFormGenerator</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><link href="style.css" rel="stylesheet" type="text/css">
<!-- calendar stuff -->
</head>
<body>
<div style="width:600px">
<p class="headText">
We Would like to take this opportunity to thank you for considering <strong>
Rapid Credit Reports Inc.</strong> One of our team members will be
contacting you shortly.
<br />
In the meantime, please fax the <strong>"Required documents"</strong> listed below to
(818) 241-1916</p>
<li>Copy of Dealer's License.</li>
<li>Copy of Principal's government issued photo ID.</li>
<li>Copy of void business check.</li>
<li>Copy of business phone bill.</li>
<?php
if($field_4==Rent)
{
print '<li>Copy of 1<sup>st</sup> and last pages of your Lease Agreement</li>';}
else
{
echo'<li>Copy of Property Tax Bill</li>';}
if($field_5==Sole_Owner){
print'<li>Copy of Fictitious Business Name with proof of publication</li>';}
elseif($field_5==LLC){
print'<li>Copy of Articles of Organization</li>';}
elseif($field_5==Partnership){
print '<li>Copy of Fictitious Business Name with proof of publication</li>';}
else{
print '<li>Copy of Articles of Incorporation</li>';}
?>
Need help!!!!
I have created a "form" using phpFormGenrator
it's processor has an include file "confirm.php", on submit some of the fields in this file is being pre-populated based on user's inputs on form.
My problem:
this form is used on two different web sites
first site is hosted by YAHOO WEB HOSTING
second site is hosted by GO DADDY on a LINUX server
the package on YAHOO works perfectly with no problem. email is sent and the include file is being populated with correct info
the one on GO DADDY only sends the email, opens the include file, but fields are not getting populated or changed per user's input .
any idea how to solve the problem on GO DDADY?
This on GO DADDY:
http://www.rapidcreditreports.com/formrcr/tmp/persistent/form110159/form.html
http://www.rapidcreditreports.com/formrcr/tmp/persistent/form110159/processor.php
============================
<?php
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
mail("razmik.a1@sbcglobal.net","phpFormGenerator - Form submission","Form data:
Company Name: " . $_POST['field_1'] . "
Phone: " . $_POST['field_2'] . "
Contact Name: " . $_POST['field_3'] . "
Office Space: " . $_POST['field_4'] . "
Owner ship: " . $_POST['field_5'] . "
powered by phpFormGenerator.
");
include("confirm.php");
?>
http://www.rapidcreditreports.com/formrcr/tmp/persistent/form110159/confirm.php
============================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>for rcr - created by phpFormGenerator</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><link href="style.css" rel="stylesheet" type="text/css">
<!-- calendar stuff -->
</head>
<body>
<div style="width:600px">
<p class="headText">
We Would like to take this opportunity to thank you for considering <strong>
Rapid Credit Reports Inc.</strong> One of our team members will be
contacting you shortly.
<br />
In the meantime, please fax the <strong>"Required documents"</strong> listed below to
(818) 241-1916</p>
<h1 style="width:600px;text-align:center">Fax Cover Sheet</h1>
<table style="border: 1px solid #000000; width:600px">
<tr>
<td id="col_1" class="text_Bold">From:</td>
<td id="Col_2" class="text"><?php print $field_1; ?> </td>
<td id="Col_3" class="text_Bold">To:</td>
<td class="text" id="Col_4">Rapid Credit Reports Inc.</td>
</tr>
<tr>
<td class="text_Bold">Phone:</td>
<td><?php print $field_2; ?> </td>
<td id="col_1" class="text_Bold" style="width:15%">Phone</td>
<td id="Col_2" class="text" style="width:35%">(800) 727-4322</td>
</tr>
<tr>
<td class="text_Bold">Contact Name:</td>
<td><?php print $field_3; ?> </td>
<td class="text_Bold">Fax No.:</td>
<td class="text">818-241-1916</td>
</tr>
<tr>
<td class="Bor_col"> </td>
<td class="Bor_col"> </td>
<td class="text_Bold">Subject: </td>
<td class="text">Auto Dealership's Application</td>
</tr>
<tr>
<td colspan="2" class="Bor_col"> </td>
<td class="text_Bold">Attention: </td>
<td class="text">New Accounts</td>
</tr>
<tr>
<td class="text_Bold">
No. of Pages:</td>
<td> </td>
</tr>
<tr >
<td colspan="4" class="Bor_col"> </td>
</tr>
<tr>
<td colspan="4" class="text_Bold">Required documents:<br />
<ul class="text">
<li>Copy of Dealer's License.</li>
<li>Copy of Principal's government issued photo ID.</li>
<li>Copy of void business check.</li>
<li>Copy of business phone bill.</li>
<?php
if($field_4==Rent)
{
print '<li>Copy of 1<sup>st</sup> and last pages of your Lease Agreement</li>';}
else
{
echo'<li>Copy of Property Tax Bill</li>';}
if($field_5==Sole_Owner){
print'<li>Copy of Fictitious Business Name with proof of publication</li>';}
elseif($field_5==LLC){
print'<li>Copy of Articles of Organization</li>';}
elseif($field_5==Partnership){
print '<li>Copy of Fictitious Business Name with proof of publication</li>';}
else{
print '<li>Copy of Articles of Incorporation</li>';}
?>
</ul>
</td>
</tr>
<tr>
<td colspan="4" class="text_Bold" style="border: 1px solid #000000; height:400px; vertical-align:top">Comments:</td>
</tr>
</table>
</div>
===========================================================
and this is on YAHOO:
http://artainsuranceagency.com/formrcr/tmp/persistent/form110159/form.html
http://artainsuranceagency.com/formrcr/tmp/persistent/form110159/processor.php
http://artainsuranceagency.com/formrcr/tmp/persistent/form110159/confirm.php
(source codes are identical)
thanks razmik
Never mind Ifigured it out
Thanks anyway