Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^3: System commands using CGI

by bitingduck (Chaplain)
on Dec 03, 2012 at 16:32 UTC ( #1006909=note: print w/replies, xml ) Need Help??

in reply to Re^2: System commands using CGI
in thread System commands using CGI

The lack of code tags that rjt pointed out also munges up the formatting of the replies. It looks like the empty print statements in what he posted contain table related tags, like:

#!/usr/bin/perl print "content-type: text/html \n\n"; # SET UP THE TABLE print "<table border='1'>"; print "<th>Test</th><th>Value</th><th>Expected Value</th><th>Result</t +h>"; $b=`/usr/bin/who>>/root/abcd.txt`; print "$array<a href="?node=1">1</a>\n\n"; #print "VALUE IS $b\n\n"; print "<tr><td>".$b."</td>";
It would make it easier to sort out the replies if you can go back and wrap your code in code tags.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006909]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2016-10-25 18:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (326 votes). Check out past polls.