question about system function call
| From: | Tom Cruickshank | Date: | Thu, 16 Jun 2005 21:43:21 +0000 |
| Subject: | question about system function call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-217110@lists.php.net to get a copy of this message | ||
Hello,
I'm trying to do the following in php.
system("/usr/bin/smbutil -v view //user@host")
to be able to view some shares folders on a server.
Unfortunately, if I use this command in console, I get prompted for a password.
Is there a way in php to wait for a password and enter it automatically?
Please let me know. Thanks!
Tom