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
I would recommend:
is logged in
that way you won't get burned by quotes, etc ...
> From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 14, 2001 7:59 AM
> To: '[EMAIL PROTECTED]'
> I want the the secure page to hold the users name
> (from variable) in
> the header Some
Hiya Taz,
James.
"Tarrant Costelloe" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have a log in script written in PHP4 which accesses a secure server.
Once
> entered I want the the secure page to hold the users name (from variable)
in
> the header ..
Tarrant Costelloe wrote:
> I have a log in script written in PHP4 which accesses a secure server. Once
> entered I want the the secure page to hold the users name (from variable) in
> the header Something along the lines of this:
> $name is logged in
> Obiously I have tried that with no luc
It is possible, but the syntax is :
$sql = "select businessname from main where businesstype =
'consultancy' and " .$community." != '0'";
This is the case where $comunity is the name of a field.
Regards
Sorin Ifrim
- Original Message -
From: Matt Davis <[EMAIL PROTECTED]>
To: Php
8 matches
Mail list logo