[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: Re: Re: [PHP] Execute permission question
From: Tim Streater <tim () clothears ! org ! uk>
Date: 2011-10-28 15:27:00
Message-ID: 7F.C3.22011.B0ACAAE4 () pb1 ! pair ! com
[Download RAW message or body]
On 28 Oct 2011 at 16:01, Tedd Sperling <tedd.sperling@gmail.com> wrote:
> On Oct 27, 2011, at 7:49 PM, Daniel Brown wrote:
> But does having execute permissions set on a script affect the scripts ability
> to run shell commands?
No, as Dan has said. But if you have a file called wiggy, containing the following:
#!/usr/bin/php
<?php
echo "Hello World!\n";
?>
then you can run it at the command line by typing its name at the prompt - but wiggy \
will need to have execute permission set.
--
Cheers -- Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic