<p. i ahve a cgi file in which i have the following code
#!/usr/bin/perl
use CGI;
my $cgi=new CGI;
print $cgi->header;
$region = $cgi->param("region");
print <<HERE1;
<body>
<table WIDTH=730 width="" border="0" cellpadding="0
+" cellspacing="0">
<tr><td valign="top" class="bodyconte
+nt-txt"><p>cant excute the cgi what to do please help. </p></td></tr>
<tr><td valign="top" class="bodycontent-txt"><p>c
+ant ee xcute the cgi please help</p></td></tr>
<tr><td valign="top" class="bodycontent-txt"><p>c
+ant excute the cgi what to do please help. cant excute the cgi what t
+o do please help. </p></td></tr>
<tr><td valign="top" class="bodycontent-txt"><p>
+cant excute the cgi what to do please help. cant excute the cgi what
+to do please help. cant excute the cgi what to do please help. </p></
+td></tr>
</table>
</BODY>
HERE1
and another shtml file in which i am executing the cgi file the content of the shtml file is
my cgi file is working fine but when i try to display the shtml file it gives me blank . i want to display the text which is displayed when i directly execute the cgi file please help.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|