ketaki has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl print "content-type:text/html\n\n"; use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser); use warnings; my $step =param(step); print<<html1; <html> <head> <title>Register online</title> </head> <body style="background-color:#BC9FAC;"> <br><br> html1 open(frame,'/home/www/xxxxxxxxxxxxxxxxx.com/frame.txt') or die "error +is: $!"; while(<frame>) { print "$_\n"; } close(frame); print<<html2; <br><br> <center> <div style="margin:0 auto;width:750px;height:420px;"> html2 open(frame_left,'/home/www/xxxxxxxxxxxxxxxxxxxxxx.org/local_frame_left +.txt') or die "error is $!"; while(<frame_left>) { print "$_\n"; } close(frame_left); print<<html3; <div style="width:534px; height:400px;float:right"> <form method="post" action="http://xxxxxxxxxxxxxxx.org +/cgi-bin/local.cgi"> html3 print<<htmlx; Give me details for my Area : <select name="area"> <option value='abc'>abc <option value='def'>def </select> <input type="hidden" name="step" value="2"> <input type="submit" value="Go"> </form> </div> </div> </center> htmlx open(frame_bottom,'/home/www/xxxxxxxxxxxxxx.org/frame_bottom.txt'); while(<frame_bottom>) { print"$_\n"; } close(frame_bottom); print<<htmlx2; </body> htmlx2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: why is the content of frame.txt file not displaying
by Corion (Patriarch) on Jun 23, 2008 at 13:43 UTC | |
|
Re: why is the content of frame.txt file not displaying
by pc88mxer (Vicar) on Jun 23, 2008 at 13:51 UTC | |
|
Re: why is the content of frame.txt file not displaying
by ww (Archbishop) on Jun 24, 2008 at 01:55 UTC | |
by ketaki (Acolyte) on Jun 25, 2008 at 07:53 UTC | |
by Anonymous Monk on Jun 25, 2008 at 09:17 UTC |