#!/usr/bin/perl print "Content-type: text/html\n\n"; #use CGI::Carp qw(fatalsToBrowser); #perlFormLeson 8 #usr/lib/sendmail ## Remove the Above to Edit in Dreamweaver. ################################################################################### print <<"PrintTag";






  Designer Shoes For Women
   and Internet Personal Assistant

About this Page
Shoe Search:

 

Home   Catalogue   Shopping Cart   New Arrivals   Specials   Comments   About Us

PrintTag ################################################################################### ## This Part Open the Text File DB and Read the Information # default file name :: $textFile = "DB/New.txt"; $cat = "New"; open (File, $textFile) or die ("Can not open File : $!"); $i = 0; while ( my $line = ) { @line = $line; @record = split(/\|/,$line); $name = ($record[0]); $price = ($record[1]); $designer = ($record[2]); $fileName = ($record[3]); $type = ($record[4]); $size = ($record[5]); $colors = ($record[6]); $shortDis = ($record[7]); $longDis = ($record[8]); $shipping = ($record[9]); $i = $i + 1; ################################################################################### ## Looping Table built from DB File. print <<"PrintTag";
$name


$name

$type
Sizes: $size
Colors: $colors

designedby $designer

Price $price and $shipping s/h.
click to order
$shortDis
PrintTag ################################################################################### } ## Closes the Looping Table close (tangoFile) or die ("Can not close File : $!"); ################################################################################### print <<"PrintTag";



Ending ending PrintTag ################################################################################### # End of Program ###################################################################################