system() + $vars

From: Date: Tue, 16 Apr 2002 18:23:01 +0000
Subject: system() + $vars
Groups: php.general 
Request: Send a blank email to php-general+get-93353@lists.php.net to get a copy of this message
Hi i was wondering how to get $var as an argument for a command using system() call..?? I tried something like: <? system('echo $REMOTE_ADDR > bla'); ?> bla is created on the system but nothing is in it, i thought it was some security measure preventing builtin $vars from entering the system but no $var at all will work.... Must be me, or is the only option in php to store stuff in dbases ? thnxz

« previous php.general (#93353) next »