Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
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

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Jonathan Duncan
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

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Rory Browne
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

Re: [PHP] php variables in a backtick command

2004-12-11 Thread Sebastian
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

RE: [PHP] PHP: Variables in

2001-05-14 Thread Matt Schroebel
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

Re: [PHP] PHP: Variables in

2001-05-14 Thread James Holloway
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 ..

Re: [PHP] PHP: Variables in

2001-05-14 Thread Geir Eivind Mork
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

Re: [PHP] php variables in sql statements.

2001-02-19 Thread Ifrim Sorin
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