securityboy
Programmer
Hello -
I have a shell script that needs to run as me (not as "nobody". I had it all set up in PHP but the web host only allows Perl programs to be cgiwrapped... so now I guess I'm trying to figure out how to use Perl to call the shell script:
(1) passing a string to it, and
(2) getting the resulting string back
Presumably this would be a simple task, but [I'm embarrassed to say that] I've been trying for many days.
Does anyone know where I can learn the syntax for this? Or maybe it's a simple two-liner that you can just give me, thereby soothing my numb brain.
Thanks very much. I really appreciate YOU taking a moment to help a brother out.
:b
I have a shell script that needs to run as me (not as "nobody". I had it all set up in PHP but the web host only allows Perl programs to be cgiwrapped... so now I guess I'm trying to figure out how to use Perl to call the shell script:
(1) passing a string to it, and
(2) getting the resulting string back
Presumably this would be a simple task, but [I'm embarrassed to say that] I've been trying for many days.
Does anyone know where I can learn the syntax for this? Or maybe it's a simple two-liner that you can just give me, thereby soothing my numb brain.
Thanks very much. I really appreciate YOU taking a moment to help a brother out.
:b