note 4882 deleted from exec by ronabop

From: Date: Fri, 11 Aug 2000 09:21:38 +0000
Subject: note 4882 deleted from exec by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-1073@lists.php.net to get a copy of this message
Is it possible to pass PHP3 variables as arguments to the system() or exec() command lines? Whenever I try to pass one with something such as system("/bin/blah $var1 $var2"), the PHP preprocessor tells me: "Warning: Cannot pass expression as argument 2 by reference in ..."

« previous php.notes (#1073) next »