note 39530 added to function.exec
| From: | codeslingeratemerald-forestdotnet at rn2 dot php dot net | Date: | Sun, 01 Feb 2004 07:32:18 +0000 |
| Subject: | note 39530 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64497@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39530
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39530&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39530&report=yes
Search -- http://master.php.net/manage/user-notes.php