Re: [PHP] question about system function call

2005-06-16 Thread Richard Lynch
On Thu, June 16, 2005 2:43 pm, Tom Cruickshank said: > I'm trying to do the following in php. > > system("/usr/bin/smbutil -v view //[EMAIL PROTECTED]") > > 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.

[PHP] question about system function call

2005-06-16 Thread Tom Cruickshank
Hello, I'm trying to do the following in php. system("/usr/bin/smbutil -v view //[EMAIL PROTECTED]") 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