Re: executing shell commands.
| From: | Douglas Douglas | Date: | Wed, 10 Sep 2003 16:00:15 +0000 |
| Subject: | Re: executing shell commands. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162186@lists.php.net to get a copy of this message | ||
Hi!
I'm not sure this could be your problem, but this is
what I see:
$numlin = '/bin/cat
/dcsa-ws1/share/webadm1/public_html/system-reports/security/rhosts/eqty/$system
| /bin/wc -l';
I think you should write it like this:
$numlin = "/bin/cat
/dcsa-ws1/share/webadm1/public_html/system-reports/security/rhosts/eqty/$system
| /bin/wc -l";
I had this kind of problem once and my script wasn't
replacing the variable ($system). It was just writing
$system in the string.
Hope this helps.
Regards, Douglas.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com