You are here: question about system function call « PHP « IT news, forums, messages
question about system function call

Posted by Tom Cruickshank on 06/17/05 00:43

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация