On Tue, 3 Jul 2001 17:46, Ray Hilton wrote:
> I think it's the same as perl, using the backtick operator, ie:
>
> $result = `uptime`;
>
> That's ` NOT '
>
Look at passthru() exec() and system() as well.
Cheers,
Brad
--
Brad Hubbard
Congo Systems
12 Northgate Drive,
Thomastown, Victoria, Austra
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.
//
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:[EMAIL PROTECTED]]
Sent: 03 July 2001 09:41
To: [EMAIL PROTECTED]
Subject: [PHP] Shell scripting and PHP.
Hi all
3 matches
Mail list logo