On Oct 27, 2011, at 6:27 PM, Daniel Brown wrote: > On Thu, Oct 27, 2011 at 18:15, Tedd Sperling <tedd.sperl...@gmail.com> wrote: >> >> Ash: >> >> You answered a question I wasn't prepared to ask, which was "How can php >> scripts be executed when their execute permissions aren't set?" >> >> That question begged the question of "What does execute mean?" > > It means "execute." Not to be confused with what others are > mentioning here, which is "read and interpret." If you run something > through PHP, Perl, Python, or another parser/interpreter, it doesn't > need to be executable by the user, only readable. > > A caveat to this, of course, is that some scripts (such as those > run via CGI) will usually need to be executable. You may recall, back > in the 90's, that any Perl scripts you'd upload to your cgi-bin needed > to be chmod'd to 0755. > > -- > </Daniel P. Brown>
Thanks for the wayback machine ride -- my memory cells have long expunged that data for more useless information. Good point re comparison of "execute" vs "read and interpret" -- that will end up in the minds of students to ponder. Thanks, tedd _____________________ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php