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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php