develooper Front page | perl.beginners | Postings from March 2002

counter script and chmod 755

Thread Next
From:
Bill Bartok
Date:
March 28, 2002 09:18
Subject:
counter script and chmod 755
Message ID:
3CA34F19.CEAE355@earthlink.net
I am putting a counter on a website for the first time. I undstand that
because the server is Unix that I will need to se permission for the
counter.

I believe this can be done within the Perl script using the line:

chmod (0755, "counter.cgi");

right within the counter.cgi script itself.

Is this correct and where in the script should it be placed.

Thanks for any advice.

Bill Bartok


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About