> 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.
There is a much easier way to do that if you have shell access to the server. You can type chmod 755 counter.cgi at the command prompt. I'm not sure if you would be able to set the permissions from within the script, I've never tried that. If you try all of your options and nothing's working, please let us know what you've tried and what errors you get. Hope that helps, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]