RE: [PHP] Executing UNIX commands with PHP
| From: | Tim Taubert | Date: | Wed, 04 Jul 2001 20:31:35 +0000 |
| Subject: | RE: [PHP] Executing UNIX commands with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56228@lists.php.net to get a copy of this message | ||
Thanks a lot Henrik!
---------------------------------------------------------------------
Tim Taubert | timtaubert@web.de | http://www.shogunat.com/rg/
---------------------------------------------------------------------
.o] -----Original Message-----
.o] From: Henrik Hansen [mailto:hh@mailserver.dk]
.o] Sent: Wednesday, July 04, 2001 10:26 PM
.o] To: php-general@lists.php.net
.o] Subject: Re: [PHP] Executing UNIX commands with PHP
.o]
.o]
.o] "Tim Taubert" <timtaubert@web.de> wrote:
.o]
.o] > Hi all,
.o] > how can i execute a UNIX command like
.o] >
.o] > 'newuser "Tim Taubert" tim password'
.o]
.o] $output = system("unix_command");
.o] echo "The result was" . $output;
.o]
.o] more info at:
.o]
.o] www.php.net/system
.o]
.o] --
.o] Henrik Hansen
.o]
.o]
.o] --
.o] PHP General Mailing List (http://www.php.net/)
.o] To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
.o] For additional commands, e-mail: php-general-help@lists.php.net
.o] To contact the list administrators, e-mail: php-list-admin@lists.php.net
.o]