Re: Running uxix commands through web.

2001-06-22 Thread Timothy Kimball
Oscar Rodriguez wrote: : > If I use : > : > system ls; : > : > My major problem is the way the data is shot back at the screen : > since it is not html and there are no 's after each line Try backticks in a list context: my @lines = `ls`; print "$_" for @lines; or, elimi

Running uxix commands through web.

2001-06-22 Thread Rodriguez, Oscar
> All, > I am executing unix commands through the web by using a cgi. > > I don't allow anyone to pass the parameters of the command it is > sort of hard coded. > > Example > > If I use > > system ls; > > My major problem is the way the data is sh