Schongar P.VBScript unleashed.1997
.pdfserving you.
<hr>
You can also order by mail with a check or money order. Make sure to include shipping/
handling charges, as shown below, in US dollars to:<br><br>RK Software, Inc.
<br>555 Anywhere St.
<br>Beautyville FL 32256 USA
<hr>
<FORM method=POST ACTION="mailto:74172.1154@compuserve.com">
<INPUT TYPE="hidden" NAME="recipient" VALUE="xyz@rksoftware.com">
<INPUT TYPE="hidden" NAME="Subject" VALUE="Software Order">
<pre><b>Select one</b> (required): <INPUT TYPE="radio" NAME="card_type"
VALUE="VISA" CHECKED>VISA <INPUT TYPE="radio" NAME="card_type"
VALUE="MC" >MasterCard <INPUT TYPE="radio" NAME="card_type"
VALUE="AMEX" >American Express</pre>
</menu>
<PRE><b>Credit Card Number</b> (required):
<INPUT TYPE="text" NAME="Credit_Card_Number" SIZE=25>
<b>Expiration date</b> (required):
<INPUT TYPE="text" NAME="Expiration" SIZE=5>
<b>Shipping address</b>:
<b>Ship |
To Name</b> |
(required): |
<INPUT TYPE="text" NAME="Ship_To_Name" SIZE=40> |
<b>Company Name</b>: <INPUT TYPE="text" NAME="Company_Name" SIZE=40>
<b>Street Address </b> (required):
<INPUT TYPE="text" NAME="Ship_To_Addr_(line_1)" SIZE=40>
FedEx will not |
deliver to U.S. Post Office Box |
|
|
<b>Ship To |
Address (line 2)</b>: |
<INPUT TYPE="text |
|
" |
NAME="Ship_To_Addr_(line_2)" SIZE=40> |
|
|
<b>Ship To |
City</b> (required): |
<INPUT TYPE="text |
|
" |
NAME="Ship_To_City" SIZE=40> |
|
|
<b>Ship To |
State/Province</b> (required): |
<INPUT TYPE="text |
|
" |
NAME="Ship_To_State/Province" SIZE=12> |
|
|
<b>Ship To |
Zip/Postal Code</b> (required): |
<INPUT TYPE="text |
|
" |
NAME="Ship_To_Zip/Postal_Code" SIZE=10> |
|
|
<b>Ship To |
Country</b> (required): |
<INPUT TYPE="text |
|
" |
NAME="Ship_To_Country" SIZE=15> |
|
|
<b>Telephone number</b> (required): |
<INPUT TYPE="text |
||
" |
NAME="Telephone" SIZE=13> |
|
|
<b>Fax number</b>: |
<INPUT TYPE="text |
||
" |
NAME="fax" SIZE=13> |
|
|
<b>E-mail address</b>: |
<INPUT TYPE="text |
||
" |
NAME= |
|
"e- |
mail" SIZE=25> |
|
|
|
<br><b>Please enter the billing address of your credit card, if |
|||
different |
from |
the |
|
shipping address.</b>
<b>(Please enter your name AS IT APPEARs ON YOUR CREDIT CARD)</b>
<b>Name:</b>
<INPUT TYPE="text" NAME="Name" SIZE=40>
|
<b>Address |
(line |
1):</b> |
<INPUT TYPE="text" NAME="Address_(line_1)" SIZE=40> |
|||
|
<b>Address |
(line |
2): |
</b> |
|
<INPUT |
TYPE="text" NAME="Address_(line_2)" SIZE=40> |
<b>City:</b>
<INPUT TYPE="text" NAME="City_or_town" SIZE=40>
<b>State or Province:</b>
<INPUT TYPE="text" NAME="State_or_Province" SIZE=12>
<b>Zip/Postal Code:</b>
<INPUT TYPE="text" NAME="Zip/Postal_Code:" SIZE=10>
<b>Country:</b>
<INPUT TYPE="text" NAME="Country" SIZE=15>
</PRE>
<p>
</menu>
<p>Please indicate the program(s) you wish to order by checking them off:<br>
<p>
<b> <INPUT TYPE="checkbox" NAME="programs_ordered" VALUE="My Software Lite
CD-ROM- $99"><a href="my_soft.html">My Software Lite</a> v.2.0 for Windows CD-ROM -
- $99 <br>
</b>--> For additional licences at the same location or on a network please call,
write or fax our office.
<br> |
--><i> My Software Lite </i> comes with a 60-day return |
guarantee. A 10% |
|
restocking fee applies <br> |
|
--> to all returns. |
|
Shipping & handling charges are not refundable. |
|
<br><br> |
|
<b>
<INPUT TYPE="checkbox" NAME="programs_ordered" VALUE="My Software
Pro -
- $149"><a href="my_softpro.html"> My Software Pro </a>
v. 2.0 for Windows -diskettes - - - - - $149</b>
<br> --><i>
My Software Pro </i> |
comes with |
a 30-day return guarantee. |
|
A 10% restocking fee |
applies |
|
|
<br> |
--> to all returns. |
|
|
Shipping & handling charges are |
not refundable. |
||
<br> |
--> |
|
|
You can also order a <b> downloadable</b>, truncated version of
My |
Software Pro, called <br> |
--> |
<i> My Software Pro |
<b>Personal Edition</b></i> for <b> |
only $69 (non-refundable) |
||
<a |
href="order.html"> |HERE|</a></b> |
||
<br><br> |
|
|
|
<br><br>
<hr>
<b><i><u>Shipping and Handling Charges:
</u></i></b>
<br><i>My Software Lite</i> and <i>My Software Pro</i> are shipped by
<b>Federal Express courier</b>. Other products "best way".<br><br>
Add <b>$12</b> for delivery of <i>My Software Lite</i> or <i>My Software
Pro</i> within the U.S. or <b>$25</b> to Mexico and Canada, <b>$45 - $75</b>
outside N. America, depending on location, except Demo and where otherwise indicated.
<br><br>
Overseas demo shipment costs $5 (total $10). <br>
<p><hr>How did you come upon our home page, or who referred you here?
Any comments or questions?<br>
<TEXTAREA name="Referred_by" rows=3 cols=60></TEXTAREA>
<p>
<hr>Thank you for your order!
<p><INPUT
TYPE="hidden" NAME="WebFormID" VALUE="2">
<p>Click
here to <INPUT TYPE="submit" VALUE="Send Your Order Now">
.................... or <INPUT TYPE="reset" VALUE="Clear">
the form and start over.</FORM>
<p>
<hr>
Return to <a href="index.html"><img src="central3.gif"alt="RK
Software logo">RK Software Home Page</a>
<hr><FONT SIZE=-2>(C)1996
RK Software.</FONT>
</body>
You are visitor <img src="/cgi-bin/Count.cgi?ft=3&dd=C&frgb=0;0;0| df=rksoft-index.dat"
align=absmiddl> since 1-Dec-1995
</html>
Listing 20.2 shows the results obtained by using the mailto: command.
Listing 20.2 Results obtained by using the mailto: command.
Subject: Form posted from AIR Mosaic
Content-type: application/x-www-form-urlencoded
Content-length: 567
X-Mailer: AIR Mosaic (16-bit) version 1.00.198.07
WebFormID=2&Referred_by=&programs_ordered=My%20Software%20Lite%20%0D%
0ACD-ROM-
%20%2499&Country=&Zip/Postal_Code: =&State_or_Province=&City_or_town=&Address_
(line_2)=&Address_(line_1) =&Name=&email=&fax=&Telephone=&Ship_To_Country=USA&Ship_To_Zip/
Postal_Code=45632&Ship_To_State/
Province=FL&Ship_To_City=Bonnesville&Ship_To_
Addr_(line_2)=&Ship_To_Addr_(line_1)=456%20Whatever% 20Street&Company_
Name=XYZ%20Corporation&Ship_To_Name=XYZ%20Corporation&Expiration=9% 2f99&Credit_
Card_Number=1234567890123456&card_type=VISA&Subject=Software% 20Order&recipient=
xyz@rksoftware.com
As you can see, the e-mail received using the mailto: command is not easily readable. It needs to be parsed before you can decipher what it contains. A CGI script or program comes in handy here because a CGI script would parse the message into a readable format before it is sent.
Listing 20.3 shows the HTML code that uses a CGI script to send the same order information from the browser to the Web server. Notice the following line in Listing 20.3:
<FORM method=POST ACTION="http://www.rksoft.net/cgi-bin/formmail. pl">
The preceding line invokes the CGI script, formmail.pl, written in Perl and residing on the Web server in the cgi-bin directory.
Listing 20.3. HTML sample using CGI for ordering software.
<html>
<head>
<title>Order Desk
</title>
</head>
<BODY background="wrbgrnd6.gif"
bgproperties="fixed">
<center>
<h1> Order Desk <a href="ita.html">
<img border=0 align="middle" src="itlogo2f.gif" alt="RK Software logo"></a>
<img src="amex.gif"> <img src="mastercd.gif"> <img src="visacard. gif">
</h1>
<br><a href="order.html"><img src="ordpgbu7.gif" align="middle"
alt="Go to DOWNLOADABLES Order Form" border=0></a> .
<a href="customer_service.html"><img src="custsbut.gif"
border=0 align="middle" alt="Customer Service / FAQ">
</a>
</center>
<hr>
<br><b>USE OF THIS FORM</B>
<br>
<br>
This page is for ordering software on <b>diskettes and CD-ROM</b>.
<br>
<br>Click <a href="order.html">HERE</a> to go to a page where
you can order software and <b>forms</b> which you can <b>download</ b>,
including a truncated version of <a href="abc_soft.html">ABC Software</a> for Windows
("Personal Edition").
<br>
<br>Order on-line using this form or email your responses to this form to XYZ Company at
<a href="mailto:xyz@rksoftware.com">xyz@rksoftware.com</a> or
call (800)555-5555 or +1(123)876-9876 or fax to (123)876-9876.<r>
<br><b>*** A 10% restocking charge will be applied to all returns
***</b>
<br>
<br>Please add shipping charges where indicated. We look forward to serving you.
<hr>
You can also order by mail with a check or money order. Make sure to include shipping/
handling charges,
as shown below, in US dollars to:<br><br>RK Software, Inc.
<br>555 Anywhere St.
<br>Beautyville FL 32256 USA
<hr>
<FORM method=POST ACTION="http://www.rksoft.net/cgi-bin/formmail. pl">
<INPUT TYPE="hidden" NAME="recipient" VALUE="xyz@rksoftware.com">
<INPUT TYPE="hidden" NAME="Subject" VALUE="Software Order">
<pre><b>Select one</b> (required): <INPUT TYPE="radio" NAME="card_type"
VALUE="VISA" CHECKED>VISA <INPUT TYPE="radio" NAME="card_type"
VALUE="MC" >MasterCard <INPUT TYPE="radio" NAME="card_type"
VALUE="AMEX" >American Express</pre>
</menu>
<PRE><b>Credit Card Number</b> (required):
<INPUT TYPE="text" NAME="Credit_Card_Number" SIZE=25>
<b>Expiration date</b> (required):
<INPUT TYPE="text" NAME="Expiration" SIZE=5>
<b>Shipping address</b>:
<b>Ship To Name</b> |
|
(required): |
<INPUT TYPE="text" NAME="Ship_To_Name" |
SIZE=40> |
|
<b>Company Name</b>: |
<INPUT TYPE="text" |
NAME="Company_Name" SIZE=40> |
|
<b>Street Address </b> (required): |
|
<INPUT TYPE="text" NAME="Ship_To_Addr_(line_1)" SIZE=40>
FedEx will not deliver to U.S. Post Office Box |
|
<b>Ship To Address (line 2)</b>: |
<INPUT |
TYPE="text" |
|
NAME="Ship_To_Addr_(line_2)" SIZE=40> |
|
<b>Ship To City</b> (required): |
<INPUT |
TYPE="text" |
|
NAME="Ship_To_City" SIZE=40> |
|
<b>Ship To State/Province</b> (required): |
<INPUT |
TYPE="text" |
|
NAME="Ship_To_State/Province" SIZE=12> |
|
<b>Ship To Zip/Postal Code</b> (required): |
<INPUT |
TYPE="text" |
|
NAME="Ship_To_Zip/Postal_Code" SIZE=10> |
|
<b>Ship To Country</b> (required): |
<INPUT |
TYPE="text" |
|
NAME="Ship_To_Country" SIZE=15> |
|
<b>Telephone number</b> (required): |
<INPUT |
TYPE="text" |
|
NAME="Telephone" SIZE=13> |
|
<b>Fax number</b>: |
<INPUT |
TYPE="text" |
|
NAME="fax" SIZE=13> |
|
<b>E-mail address</b>: |
<INPUT |
TYPE="text" |
|
NAME= |
|
"e-mail" SIZE=25>
