Re: php / unix functions

From: Date: Wed, 18 Dec 2002 02:50:30 +0000
Subject: Re: php / unix functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128628@lists.php.net to get a copy of this message
OK, I lied :) I don't want the raw output, I want to be able to pick the parts of the output that I want and display that. Thanks -Greg "Martin Towell" <martin.towell@world.net> wrote in message news:6416776FCC55D511BC4E0090274EFEF5034D04EE@exchange.world.net... > in that case, try passthru() > > -----Original Message----- > From: Greg [mailto:gregchagnon@hotmail.com] > Sent: Wednesday, December 18, 2002 1:45 PM > To: php-general@lists.php.net > Subject: Re: [PHP] php / unix functions > > > I just want to display the output of 'uptime' and 'df' on a php page > /Greg > > "Andy Turegano" <aturegano@junker.org> wrote in message > news:Pine.BSO.4.44.0212172141010.16068-100000@junker.org... > > Well, what do you want them to do? > > > > > > On Wed, 18 Dec 2002, Martin Towell wrote: > > > > > the only other way I know is to use: $output = $cmd; > > > (ie, backticks) > > > > > > -----Original Message----- > > > From: Greg [mailto:gregchagnon@hotmail.com] > > > Sent: Wednesday, December 18, 2002 1:27 PM > > > To: php-general@lists.php.net > > > Subject: [PHP] php / unix functions > > > > > > > > > Hi- > > > Is there a built in way, besides using exec and system, to get the > output > > > from commands like 'uptime' and 'df' on a linux system? Thanks! > > > -Greg > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#128628) next »