The quotes are only for the shell command which does not use quotes around
password. Thanks for the feedback.
Jonathan
"Sebastian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> well $user['password'] has no double quotes around it.
>
> - Original Message -
> From: "Jo
Ah, that is a good idea, putting the command in a variable and then
executing the variable. I have doen that before but did not think of it
now. Too many things going on. Thanks!
Jonathan
"Rory Browne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm not sure about variable
I'm not sure about variable expansion with backticks(I don't use
backticks, if necessary I use shell_exec() instead). I'm just after
installing a fresh SuSE 9.1, and php is giving me a segfault at the
minute, with that particular code, but if you were using double quotes
you could:
$command = "add
well $user['password'] has no double quotes around it.
- Original Message -
From: "Jonathan Duncan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 8:09 PM
Subject: [PHP] php variables in a backtick command
> I am trying to run a shell command with backtick
4 matches
Mail list logo