RE: [PHP] Shell scripting and PHP.
| From: | Ray Hilton | Date: | Tue, 03 Jul 2001 07:46:43 +0000 |
| Subject: | RE: [PHP] Shell scripting and PHP. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55946@lists.php.net to get a copy of this message | ||
I think it's the same as perl, using the backtick operator, ie:
$result =
uptime;
That's ` NOT '
-----Original Message-----
From: Johan Vikerskog (ECS) [mailto:Johan.Vikerskog@ecs.ericsson.se]
Sent: 03 July 2001 09:41
To: php-general@lists.php.net
Subject: [PHP] Shell scripting and PHP.
Hi all!
If i want to use some shell commands and use the result it displays to
set a variable. How is this done?
Is there a way of doing it like you can do with Perl?
Anyone knows?
Thanks for all the tips you can give me, or better yet, if you know of a
tutorial somewere that covers this.
//Johan
--
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