Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

system command

Status
Not open for further replies.

axman505

Technical User
Jun 20, 2001
489
US
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.
 
thats the one I was looking for. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top