Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
<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.


In reply to calling a cgi file from shtml by rjsaulakh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • 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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-23 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found