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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006909]
help
Chatterbox?
[LanX]: jUbuntu?
[RonW]: by what vector?
[marto]: song of the day
[Your Mother]: Nah, I'm not really into Pokemon.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-12-14 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (408 votes). Check out past polls.

    Notices?