question about system function call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux