|
|
| P is for Practical | |
| PerlMonks |
Simple Perl print() output redirect to html/webpage.by hmb104 (Acolyte) |
| on Sep 03, 2012 at 05:36 UTC ( #991356=perlquestion: print w/ replies, xml ) | Need Help?? |
|
hmb104 has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Perl monks, I have a Perl script that I use to extract some info from my webserver. The script works great on the command line. It takes a username as an argument and it returns few lines of output such as below:
The script returns print() statements with some variables. I would like to know how to make the script print the output to a webpage. I have tried to exec() the script in PHP but for userid problems it didn't work. How I can make the script redirect output to html document? The script is located in "server1" and the webserver is "server2". I created a PGP key so I can execute the script from server2 without any problem. I appreciate the input
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||