Using Php Scripts
Using Php Scripts
Is there a way to make a php Script for post processing and use it? If there is a way how? Just copy to Script folder? Can i use the parameters sabnzbd gives after download?
Re: Using Php Scripts
Well php does include a command line tool as well so you could use that in your script i suppose.
Re: Using Php Scripts
.: Example :.
Create a file (myscript.php) with the following:
#!/usr/bin/php
Make sure /usr/bin/php is the right path to the php cli.
Save it and make this script executable.
And run it from the command line: i.e. ./myscript.php
Good luck
Create a file (myscript.php) with the following:
#!/usr/bin/php
Make sure /usr/bin/php is the right path to the php cli.
Save it and make this script executable.
And run it from the command line: i.e. ./myscript.php
Good luck