I am trying to get a certain detail from an external program using shell_exec() in PHP. Here is what I am querying:
$output = shell_exec('vanitygen.exe 1z');
When doing this in the command prompt on windows it returns this information:
Difficulty: 1353
Pattern: 1z
Address: address
Privkey: private_key
However, when running the same command using PHP shell_exec (and exec) only this is returned:
Pattern: 1z
Address: address
Privkey: private_key
Is there any way to have PHP give all information, including the 'Difficulty: 1353' line?
Thanks.