Re: system() command help please

From: Date: Fri, 07 Jul 2000 05:54:15 +0000
Subject: Re: system() command help please
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5316@lists.php.net to get a copy of this message
Is wvdial an interactive program? If so, you might want to try popen() http://www.php.net/manual/function.popen.php jason > Forgive me if this question has been asked, but I can't download the > entire 65,000 messages in this group =). >>>> RedHat Linux 5.0 2.2.9 > kernel. Apache/1.3.9 (Unix) PHP/3.0.12 <<<< > > Can anyone enlighten me as to why: > > <?php system("wvdial"); ?> > > does not seem to execute, nor does it display any output? However > > <?php system("who"); ?> > > (or most other commands for that matter "ps aux", "ifconfig", or > whatever) WILL display output? > > Any advice would be much appreciated. I am simply building a web > control panel for my proxy/dial-up server for my LAN. And I'd much > rather use PHP tan continue using the CGI script that I had to write > for this purpose. > > Thank you! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#5316) next »