note 55069 added to function.shell-exec
| From: | relsqui at chiliahedron dot com | Date: | Sun, 24 Jul 2005 18:27:54 +0000 |
| Subject: | note 55069 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92383@lists.php.net to get a copy of this message | ||
I had a very frustrating case where I was trying to make a web version of a text game, which lived
in /usr/share/games and /usr/games/bin. Although Apache had all the relevant permissions on the
files themselves, it didn't have permissions to all the intervening directories. So, no output.
A way around that is to create links to the files that live somewhere Apache can get at them.
Naturally, as with any time you're making guarded files more accessible, be careful and think
about exactly what you want to be available to whom.
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55069
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55069&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55069&report=yes
Search -- http://master.php.net/manage/user-notes.php