Hi,

I have a CGI-script that needs to print an html-page containing variables dependent on the choise you make.
Right now I do this using :


#!/opt/per/bin/perl

if ($submit) {
open(FH, "< $htmlfile");
my @contents=<FH>;
close(FH);

print "Content type text/html; \n\n";
print "Contents";

This does print my html-page, but does not interpeted the variables($value) as :
<input type=text name=hello value=$value>


Is there a way to source the html-file inside the perl/cgi script, so the $variables are interpeted correct?

Thanks a lot for your help in advance !!!

Regs David

_________________________________________________________________
Hotmail en Messenger on the move http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to