note 6517 deleted from exec by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 09:28:52 +0000 |
| Subject: | note 6517 deleted from exec by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1087@lists.php.net to get a copy of this message | ||
i'm trying to exec("/this/is/a/prog") in a shell-script. doing it on the c-shell ala
#/this/is/a/prog works fine.
doing a php-script in this form:
<PRE>
#!php -f
<?
exec("/this/is/a/prog");
passthru("/this/is/a/prog");
system("/this/is/a/prog");
shell_exec("/this/is/a/prog");
?>
</PRE>
doesn't work.
Does anybody know why.