Hey!
For some reason I havn't been able to get my forms to send to my inbox at (support@bwservices.ca) ... I have tried since May to get my forms to redirect to (http://www.bwservices.ca/Thank you.html) aswell and that hasnt worked either.
Here is the html code pasted below. If anyone can help me out that would be great!
<style>
body,td,legend {
color: black;
font-family: Century Gothic;
font-size: 14px;
}
span.required{
font-size: 13px;
color: red;
}
</style>
<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "jeremy_bellefeuille********.com";
$mailsubj = "BW SERVICES - CONTACT FORM";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
?>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q0">Company</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q0_Company" id="q0">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q2">Title</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q2_Title" id="q2">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q3">Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q3_Name" id="q3">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q4">Last Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q4_LastName" id="q4">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q5">E-mail <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q5_E-mail" id="q5">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q6">Phone Number <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q6_PhoneNumber" id="q6">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q7">Message <span class="required">*</span></label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q7_Message" id="q7"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q8">How did you hear about us?</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q8_Howdidyouhearaboutus" id="q8">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
</td>
<td valign="bottom">
<input TYPE="submit" VALUE="Submit"><input TYPE="reset">
</td>
</tr>
</table>
</form>
___________
Thank you.
Jeremy.
www.bwservices.ca/
Black & White Designs
For some reason I havn't been able to get my forms to send to my inbox at (support@bwservices.ca) ... I have tried since May to get my forms to redirect to (http://www.bwservices.ca/Thank you.html) aswell and that hasnt worked either.
Here is the html code pasted below. If anyone can help me out that would be great!
<style>
body,td,legend {
color: black;
font-family: Century Gothic;
font-size: 14px;
}
span.required{
font-size: 13px;
color: red;
}
</style>
<script language="php">
$email = $HTTP_POST_VARS[email];
$mailto = "jeremy_bellefeuille********.com";
$mailsubj = "BW SERVICES - CONTACT FORM";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; }
if (!eregi("\n",$HTTP_POST_VARS[email])) { mail($mailto, $mailsubj, $mailbody, $mailhead); }
?>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q0">Company</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q0_Company" id="q0">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q2">Title</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q2_Title" id="q2">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q3">Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q3_Name" id="q3">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q4">Last Name <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q4_LastName" id="q4">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q5">E-mail <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q5_E-mail" id="q5">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q6">Phone Number <span class="required">*</span></label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q6_PhoneNumber" id="q6">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="top" >
<label for="q7">Message <span class="required">*</span></label>
</td>
<td valign="bottom">
<textarea wrap="soft" cols="30" rows="3" name="q7_Message" id="q7"></textarea>
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
<label for="q8">How did you hear about us?</label>
</td>
<td valign="bottom">
<input type="text" size="20" name="q8_Howdidyouhearaboutus" id="q8">
</td>
</tr>
</table>
<table width="520" cellpadding="5" cellspacing="0">
<tr valign="bottom">
<td width="150" valign="bottom" >
</td>
<td valign="bottom">
<input TYPE="submit" VALUE="Submit"><input TYPE="reset">
</td>
</tr>
</table>
</form>
___________
Thank you.
Jeremy.
www.bwservices.ca/
Black & White Designs
Comment