Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forms question.

Status
Not open for further replies.

Angel2228

Programmer
Feb 22, 2001
26
US
Ok, here's the deal. I am designing a website for a paint contractor, and he wants me to include the following things:

1. A page that a customer can go to can request a quick estimate, whereas they enter information into a form, (such as number of windows, etc.) and when they submit the form they immediately recieve a general quote (without having to give information to the contractor).

2. A form where the customer can make a request for an estimate from the contractor. the contractor would then like this information to be sent to him via email (he does not particularly care for the information to be stored in a database)

so my question is, how would i go about doing this? i mean, what in your opinion, is the best way? is this something reasonable to have server side?

the web host supports the following:
Private CGI-Bin Directory
Common CGI Library
Java Applet Support
SSI Support
PHP Support
(none of which i am really familiar with, but i can learn!)

however, does NOT support .ASP (of course the only thing i am remotely familiar with)

also, are there tutorials, faqs, etc that you can direct me to so i can learn what i need to?

thanks in advance for any advice.
 
The quickest to learn would probably be PHP.

Good resource -


tutorials and manual on PHP.

If the guy has fixed prices for certain items/services, you should be able to kludge together a quote script after the minimum of study of PHP, especially if you are used to ASP. Dean Owen
 
Hello,
I use my CGI/bin for my virtual mall, works great
I hava added an auto response in ASP
you do not have to, but most ISP will OK it MS of course
and Chlili ASP with Apache on Linux (as I do)
since you do not have any security problems (non sensible info, it should be fine)

check that ex:
<head>
<title>request form</title>
<style type=&quot;text/css&quot;>
<!--
.main{font-size: 15;font-weight: bold;font-family: arial;tahoma;sans-serif;}
.second{font-size:16;font-family: arial;tahoma;sans-serif;}
.third{font-size: 20;font-weight: bold;font-family: broadway;tahoma;sans-serif;}
-->


</style>
</head>
<body>
<table bgcolor=&quot;#cccccc&quot; width=&quot;600&quot; height=&quot;100% align=&quot;center&quot; border=&quot;2&quot; cellpadding=&quot;5&quot;>
<tr>
<td colspan=&quot;3&quot; rowspan=&quot;1&quot; width=&quot;600&quot; height=&quot;55&quot; align=&quot;center&quot; valign=&quot;middle&quot;>
<img src=&quot;../......../logo1.jpg&quot;></a>
</td></tr>

<tr>
<td colspan=&quot;3&quot; rowspan=&quot;1&quot; width=&quot;600&quot; height=&quot;30&quot; align=&quot;center&quot; valign=&quot;middle&quot;>
<div class= &quot;third&quot;>Hospitality information request center</div>
<div class=&quot;second&quot;>Required fields are marked by an *</div>

<tr>
<td colspan=&quot;1&quot; rowspan=&quot;1&quot; width=&quot;285&quot; align=&quot;left&quot; valign=&quot;middle&quot;>
<form action=&quot; method=&quot;post&quot;>
<form action=&quot;mailto:henry@consulting-henry.com&quot; method=&quot;post&quot; enctype=&quot;text/plain&quot;>
<input name=&quot;DESTINATION_ADDR&quot; type=&quot;hidden&quot; value=&quot;...........rr.com&quot;>
<input name=&quot;CC_ADDR&quot; type=&quot;hidden&quot; value=&quot;f.............net&quot;>
<input name=&quot;BCC_ADDR&quot; type=&quot;hidden&quot; value=&quot;&quot;>

<input name=&quot;_replyToField&quot; type=&quot;hidden&quot; value=&quot;SUB_ADDR&quot;>
<input name=&quot;_requiredFields&quot; type=&quot;hidden&quot; value=&quot;Guest name, Guests First Name,
Address, City, State, Zip Code, Telephone, E-mail Address&quot;>
<input name=&quot;SUCCESS_HTML&quot; type=&quot;hidden&quot;
value =&quot; <input name=&quot;SUBJECT&quot; type=&quot;hidden&quot; value=&quot;Information_Request&quot;>
<input name=&quot;_envars&quot; type=&quot;hidden&quot; value=&quot;HTTP_REFERER, HTTP_USER_AGENT,
REMOTE_ADDR&quot;>

<div class=main>*Guest Name</div>
<input name=&quot;Guest Name_req&quot; size=30 value=&quot;&quot;>

<div class=main>*Guest First Name</div>
<input name=&quot;Guest First Name_req&quot; size=30 value=&quot;&quot;>

<div class=main>*Address</div>
<input name=&quot;Address_req&quot; size=30 value=&quot;&quot;>

<div class=main>*City</div>
<input name=&quot;City_req&quot; size=30 value=&quot;&quot;>

<div class=main>*State</div>
<select name=&quot;State_req&quot; size=1>
<option value=&quot;&quot; selected>Choose One</option>
<option value=&quot;AL&quot;>Alabama</option>
<option value=&quot;AK&quot;>Alaska</option>
<option value=&quot;AZ&quot;>Arizona</option>
<option value=&quot;AR&quot;>Arkansas</option>
<option value=&quot;CA&quot;>California</option>
<option value=&quot;CO&quot;>Colorado</option>
<option value=&quot;CT&quot;>Connecticut</option>
<option value=&quot;DE&quot;>Delaware</option>
<option value=&quot;DC&quot;>District of Columbia</option>
<option value=&quot;FL&quot;>Florida</option>
<option value=&quot;GA&quot;>Georgia</option>
<option value=&quot;HI&quot;>Hawaii</option>
<option value=&quot;ID&quot;>Idaho</option>
<option value=&quot;IL&quot;>Illinois</option>
<option value=&quot;IN&quot;>Indiana</option>
<option value=&quot;IA&quot;>Iowa</option>
<option value=&quot;KS&quot;>Kansas</option>
<option value=&quot;KY&quot;>Kentucky</option>
<option value=&quot;LA&quot;>Louisiana</option>
<option value=&quot;ME&quot;>Maine</option>
<option value=&quot;MD&quot;>Maryland</option>
<option value=&quot;MA&quot;>Massachusetts</option>
<option value=&quot;MI&quot;>Michigan</option>
<option value=&quot;MN&quot;>Minnesota</option>
<option value=&quot;MS&quot;>Mississippi</option>
<option value=&quot;MO&quot;>Missouri</option>
<option value=&quot;MT&quot;>Montana</option>
<option value=&quot;NE&quot;>Nebraska</option>
<option value=&quot;NV&quot;>Nevada</option>
<option value=&quot;NH&quot;>New Hampshire</option>
<option value=&quot;NJ&quot;>New Jersey</option>
<option value=&quot;NM&quot;>New Mexico</option>
<option value=&quot;NY&quot;>New York</option>
<option value=&quot;NC&quot;>North Carolina</option>
<option value=&quot;ND&quot;>North Dakota</option>
<option value=&quot;OH&quot;>Ohio</option>
<option value=&quot;OK&quot;>Oklahoma</option>
<option value=&quot;OR&quot;>Oregon</option>
<option value=&quot;PA&quot;>Pennsylvania</option>
<option value=&quot;RI&quot;>Rhode Island</option>
<option value=&quot;SC&quot;>South Carolina</option>
<option value=&quot;SD&quot;>South Dakota</option>
<option value=&quot;TN&quot;>Tennessee</option>
<option value=&quot;TX&quot;>Texas</option>
<option value=&quot;UT&quot;>Utah</option>
<option value=&quot;VT&quot;>Vermont</option>
<option value=&quot;VA&quot;>Virginia</option>
<option value=&quot;WA&quot;>Washington</option>
<option value=&quot;WV&quot;>West Virginia</option>
<option value=&quot;WI&quot;>Wisconsin</option>
<option value=&quot;WY&quot;>Wyoming</option>
</select>

<div class=main>*Zip Code</div>
<input name=&quot;Zip Code_req&quot; size=5 maxlength=5 value=&quot;&quot;>

<div class=main>*Telephone</div>
<input name=&quot;Telephone_req&quot; size=20 value=&quot;&quot;>

<div class=main>*E-mail Address</div>
<input name=&quot;SUB_ADDR_req&quot; size=20 value=&quot;&quot;>

<div class=main>Fax</div>
<input name=&quot;Fax&quot; size=20 value=&quot;&quot;>
</td>

<td bgcolor=&quot;999999&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot; width=&quot;30&quot; >
</td>

<td colspan=&quot;1&quot; rowspan=&quot;1&quot; width=&quot;285&quot; >
<div class=main>Prefered Season</div>
<select name=&quot;Prefered Season&quot; size=1>
<option value=&quot;&quot; selected>Choose One</option>
<option value=&quot;Spring&quot;>Spring</option>
<option value=&quot;Summer&quot;>Summer</option>
<option value=&quot;Fall&quot;>Fall</option>
<option value=&quot;Winter&quot;>Winter</option></select></div>

<div class=main>Precise Stay(From...To)</div>
<input name=&quot;Stay&quot; size=30 value=&quot;&quot;>

<div class=main>How many guests?
<input name=&quot;Many&quot; size=5 value=&quot;&quot;>
<div class=main>Children?
<input name=&quot;Child&quot; size=5 value=&quot;&quot;></div><br>

<div class=main>Please, check all that apply<br><br>
<input name=&quot;Inn brochure&quot; type=checkbox value=&quot;yes&quot;>Inn brochure.
<br>
<input name=&quot;Site of interest&quot; type=checkbox value=&quot;yes&quot;>Sites of interest.
<br>
<input name=&quot;Antiques and Shopping&quot; type=checkbox value=&quot;yes&quot;>Antiques and shopping.
<br>
<input name=&quot;Local food and wines&quot; type=checkbox value=&quot;yes&quot;>Local food and wines.
<br>
<input name=&quot;Catering information&quot; type=checkbox value=&quot;yes&quot;>Catering information.</div>

</td></tr>
<tr>
<td rowspan=1 colspan=3 widht=&quot;600&quot; align=center valign=top>
<div class=main>Comments and special requiements<br>
<textarea name=&quot;Comments and special requirement&quot;rows=5 cols=50>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top