View Single Post
Old 04-18-2009, 08:16 PM  
Jakez
Confirmed User
 
Jakez's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
Quote:
Originally Posted by AgentCash View Post
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.
__________________
[email protected] - jakezdumb - 573689400

Killuminati
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote