I'm running the following php code;
$output = exec('"D:\TESTDIR\unrar.exe" e "D:\TESTDIR\Icons.rar" -ppassword');
echo $output;
Which isn't working... I want it to extract the files into the same directory. If I copy the contents of the exec into a command line prompt it works just fine, so slightly confused.
Trying the following;
$output = exec('"D:\TESTDIR\unrar.exe"');
echo $output;
Returns the last line of the unrar help file (which is expected).