Quote:
Originally Posted by AgentCash
from the commandline
cd to the directory containing rsapi.pl
then
perl rsapi.pl prem filename login password
or
/usr/bin/perl /location/to/rsapi.pl prem /location/to/filename login password
if you need to run it from within another script then use backticks or an exec call, and make sure you sanitize any inputs
|
I'm actually trying to get it to run from within a .php page, and I tried it with exec() but nothing happened..
I tried exec("perl rsapi.pl prem archive.rar 334");
Is it supposed to be -perl instead? Not too familiar with this crap lol.