note 39530 rejected from function.exec by betz
| From: | betz@php.net | Date: | Sun, 01 Feb 2004 10:07:44 +0000 |
| Subject: | note 39530 rejected from function.exec by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64499@lists.php.net to get a copy of this message | ||
Note Submitter: codeslinger at emerald-forest dot net
----
If you are having trouble getting exec to work, try shell_exec instead...
it's a mystery to me, but after many hours of banging my head against the wall...
I simply could not get exec to work.
So then I started poking around the docs etc. and decided to try shell_exec
And it worked exactly like it's supposed to, on the very first try, and got the job done.
I still don't know what the problem was with exec, it kept complaining about Access
Permissions.
Don't waste your time trying to solve it when a good alternate is available.
-- Erik