Re: help executing shell commands

From: Date: Tue, 06 May 2003 07:21:19 +0000
Subject: Re: help executing shell commands
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146493@lists.php.net to get a copy of this message
Fernando Serto wrote: [something ...] Read the manual ... specifically: http://jp.php.net/manual/en/language.operators.execution.php The backtick operator returns whatever the shell command gave as output. So your $test var contains the whole output of ls ... If you want to parse the output you might want to use something like explode and 'plode on \n. Jc

« previous php.general (#146493) next »