Re: passthru() problem

From: Date: Wed, 02 Jul 2003 19:08:09 +0000
Subject: Re: passthru() problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153762@lists.php.net to get a copy of this message
On Wednesday 02 July 2003 22:04, david wrote: > I'm trying to get the output of a shell command with PHP > > This is the command I'm Trying to execute, I also tried using system > instead of passthru > > > > <?php > > passthru(ftpwho -v, $return_var); > > echo $return_var; > > ?> passthru (et al) expects the command argument to be a string. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Dental health is next to mental health. */

« previous php.general (#153762) next »