On Fri, 10 Dec 1999, Vishal Doshi wrote:

> Nah php and perl are both interpreted. you can compile perl on NT;
> www.activestate.com
> not on unices though.

Actually, Perl5 can be compiled to bytecode (like java).  It is still
interpreted, but the code is no longer readable by humans.

perldoc -q byte.?code 

for more details
Not very efficient, but should help. You can also convert it to C, and
then compile.  Check with CPAN.

> but I wonder... what happens if you do something like this
> permissions
> owner:
> rwx
> group:
> ---
> others:
> --x
> 
> filename.php3
> 
>  do you think it will work ? anyone ?

No.  It doesn't work.  In order to execute a program, you've (or the
shell has) got to be able to read the source (or bytecode) of the program.
You could actually try this with a simple hello world script.  Change
perms to 711 then su to another user and try executing it.  Don't work.


Philip

To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to