Re: shell expansion (globbing) from inside php cli script
| From: | Bob Winter | Date: | Thu, 30 Jun 2005 14:47:34 +0000 |
| Subject: | Re: shell expansion (globbing) from inside php cli script | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217892@lists.php.net to get a copy of this message | ||
Brian,
Is "/www/files/services/...." the correct relative path?? You could try using the absolute path to see if it fixes the problem.
Also, and maybe more significant, I use tcsh . . . if you use bash this could be the conflict. I see that the echo of the $cmd string from PHP is missing the '\}' that is in my test.
-- Bob
Brian V Bonini wrote:
Hmmm, this simply does not work for me. Maybe something with my version of php or ssh.. I'm at a loss..