Problems with exec
| From: | Jason Freeman | Date: | Tue, 03 Feb 2004 13:45:01 +0000 |
| Subject: | Problems with exec | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176676@lists.php.net to get a copy of this message | ||
Hi there
I'm having a bit of trouble with executing system commands. My script reads as follows.
<?
exec("smbclient -L \\xxx.xxx.xxx.xxx -N", $output);
print_r($output);
?>
The problem is that when I run this script the page does not load and apache crashes. Does anyone
know a way around this problem??
Thanks