Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am looking for a solution to have customer fill out form from order page to complete order, found one website has this function, but not quite understand how it works,anyone can offer any idea what is fm.php means? do I need to have any special setup? here is the code, thank you in advance!!!
<td width="100%" height="169"> <form action="fm.php" method="POST">
roger

basically mate, when someone fills out that form, the information they have entered is sent to code (fm.php). This code will probably check the data for errors etc, and then depending on what they have set the code to do, either write it to a file, email you, or what ever
if you want i can give you a script which will take in a users entered information and output them to a htm file/txt
maybe even email you..
Sign Me Guestbook!
jaymc.co.nr

Hi jamie,
Please send me the script which will take in a users entered information and output them to a htm file/txt. Please add detail instruction because I am the beginner on HTML.
Thanks!
Roger

Please send me your form, as this is equially important as the script its self
Sign Me Guestbook!
jaymc.co.nr

Hi Jamie,
Here is the form:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head><body>
<table width="100%" border="0" cellpadding="5" cellspacing="5">
<tr>
<td height="296"> <p align="center">Thank
You for your Order ! </p>
<p align="center">Please
be sure to fill out this form to complete your order.
You will receive a response from us within 24 hrs with a tracking code
so that you can keep tabs on your campaign.
</p>
<table border="0" cellspacing="0" width="100%" id="AutoNumber11" style="border-collapse: collapse" cellpadding="0" height="169">
<tr>
<td width="100%" height="169"> <form action="fm.php" method="POST">
<table width="100%" style="border-collapse: collapse" cellpadding="0" cellspacing="0" height="242">
<tr>
<td width="120" height="30">
Your Name:</td>
<td height="30">
<input name="name_from" size="40">
</td>
</tr>
<tr>
<td width="120" height="17"></td>
<td height="17"></td>
</tr>
<tr>
<td width="120" height="32">
The URL where you want the traffic delivered:</td>
<td height="32">
<input name="URL" size="40" value="http://www.">
</td>
</tr>
<tr>
<td width="120" height="17"></td>
<td height="17"></td>
</tr>
<tr>
<td height="32" width="120">
Your Email Address:</td>
<td height="32">
<input name="email_from" size="25">
</td>
</tr>
<tr>
<td height="16" width="120"></td>
<td height="16"></td>
</tr>
<tr>
<td height="56" width="120"> <p style="margin-top: 0">
Targeting Category:</p>
(if targeted campaign)</p></td>
<td height="56">
<select size="1" name="category">
<option selected>Untargeted</option>
<option>Games</option>
<option>Gambling</option>
<option>Health</option>
<option>Entertainment</option>
<option>Travel</option>
<option>Free Stuff</option>
<option>Debt Consolidation </option>
<option>Webmasters</option>
<option>Family</option>
<option>Sports</option>
<option>Shopping</option>
<option>Beauty</option>
<option>Software</option>
<option>Finance</option>
<option>Diet</option>
<option>Credit Cards</option>
<option>Business</option>
</select>
</td>
</tr>
<tr>
<td height="12" width="120"></td>
<td height="12"></td>
</tr>
<tr>
<td height="30" width="120"> <p style="margin-top: 0; margin-bottom: 0">
Country:</p>
(if
targeted campaign)</p></td>
<td height="30">
<select size="1" name="Country">
<option selected>Untargeted
<option>United Kingdom </option>
<option>United States</option>
</select>
</td>
</tr>
</table>
<p align="center">
<input type="submit" value="Submit" name="B1">
<input type="reset" value="Reset" name="B2">
</p>
</form></td>
</tr>
</table>
<p align="center">
Should you have any questions, please email us.
<strong>chen119@yahoo.com</strong></p>
<p class="text" align="center"> </td>
</tr>
</table>
</body>
</html>roger

ok done, click here to download the files required
Or Click here To fill in the form
Then Click here to see the data generated by php
Sign Me Guestbook!
jaymc.co.nr

Hi Jamie,Thank you so much!!!
I have some questions for you:
1. How do I know my webserver have PHP enabled? how to set it up?
2. I upload three files you asked then did a quick test, but it always end up with the msg 'Please fill in all fields!', looked at the code, because name,url and email are empty, it that because I don't have PHP enable?
3. Do you have any script can send directly to email without write to a file?Thanks!
Roger

![]() |
My Radio!
|
Selfmade Browser
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |