On Wednesday 17 April 2002 02:23, Mark wrote:
> system('echo $REMOTE_ADDR > bla');
> ?>
You've got $REMOTE_ADDR inside a single-quoted string thus no variable
expansion takes place.
Instead what happens with your code is that you're echoing the *shell*
environmental variable $REMOTE_ADDR int
Hi i was wondering how to get $var as an argument for a command using
system() call..??
I tried something like:
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
2 matches
Mail list logo