Re: Re: Execute permission question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28 Oct 2011 at 16:01, Tedd Sperling <tedd.sperling@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux