ok I have the CGI script that will generate an html page based on what the
user selects. I also want to give the user the oportunity to choose one of
many different text files that can also be inputted into the html page via
the cgi script. I have the opening tags and closing tags and tables set up
in the script. The addition I would like to put in is between the lines
with the ##################### to help you find it.
Thanks for any suggestions you can make
$filename =<<__this_is_the_file__;
$BODYTAG
$params
<CENTER>
<P>
<TABLE WIDTH=630 BGCOLOR=$fields{'back_color'} BORDER=3>
<TR>
<TD>
<TABLE WIDTH=630 BGCOLOR=$fields{'back_color'}>
<TR>
<TD>
<TABLE WIDTH=270 BORDER=2>
<TR>
<TD ALIGN=center VALIGN=CENTER>
<IMG SRC=$BASEURL/$fields{'file_select'} height=400 width=300
BORDER=0><P>
</TD>
</TR>
</TABLE>
</TD>
<TD WIDTH=360 VALIGN=top>
<CENTER>
<FONT SIZE=+2 COLOR=$fields{'text_color'}
#######################################
this is what I want to do
Add a user select text file here.
Would I use the open and print command even if it is with in the HTML tags
open TEXT, $fields{'poam_select'};
while (<TEXT>) {
$text = "$text.$_"
}
print $text
would somthing like this work to allow the user to select a premade text
file from an HTML form to have inputted into the HTML page. The rest of the
script works fine this is an addition I am trying to do to it
#########################################
FACE=ARIAL><B>$fields{'the_title'}</B></FONT>
<HR WIDTH=200>
<TD WIDTH=360>
$fields{'poam_select'}<br>
<HR WIDTH=200>
<TABLE WIDTH=360>
<TR>
<TD><FONT FACE=ARIAL COLOR=$fields{'text_color'}>
$fields{'the_message'}
<P ALIGN=CENTER>
<I>$fields{'sig_line'}
</I>
</P>
</FONT>
</TD>
</TR>
</TABLE>
</CENTER>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<P>
<TABLE WIDTH=500>
<TR>
<TD>
<FONT FACE="ARIAL">
This card was created by
$fields{'sender_name'}
(<I><A HREF=mailto:$fields{'sender_email'}>
$fields{'sender_email'}</A></I>)
especially for $fields{'recip_name'}. If you would like to
send a card to that special someone, just go to
<CENTER>
<FONT FACE="ARIAL" SIZE="-1"><B>
Card Creator by <A HREF=$PARENTURL> $SITENAME</A>
</B><BR>
</CENTER>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
this___is_the_file__
}
Check out www.my-pcdoctor4u.com for all kinds of FREE items including FREE
E-Cards.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]