I am running the following system command:
$passwordEnc = system('/path/to/password.pl '.escapeshellarg($password));
The password.pl script simple prints out an encrypted password.
THe problem is that it is also printing this to the screen .. how can I assign the outputed file to $passwordEnc with the value being printed on the screen?
Thanks.
$passwordEnc = system('/path/to/password.pl '.escapeshellarg($password));
The password.pl script simple prints out an encrypted password.
THe problem is that it is also printing this to the screen .. how can I assign the outputed file to $passwordEnc with the value being printed on the screen?
Thanks.