Re: Exec
| From: | david | Date: | Fri, 09 Jun 2000 08:47:46 +0000 |
| Subject: | Re: Exec | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1378@lists.php.net to get a copy of this message | ||
??? a écrit :
> shell_exec("external-filename");
>
>
Here is a piece of my script and it doesn't work
<?
shell_exec ("/usr/local/apache/htdocs/php/test");
$opt_file=fopen("test_result","r"); /*result of execution of test */
while(!feof($opt_file))
{
$line= fgets ($opt_file,100);
echo "$line <BR>";
}
fclose($opt_file);
>