File Permissions

PERL Primer two teaches you how to set up file permissions

provided by: 
Originally published at Internet.com


I'm going to assume at this point that you have the ability to use PERL and set permissions on a server. We're going to go over two more preparatory steps in this primer:


I know this is still a little boring, but stay with me; you need to know how the trick works before you can start pulling rabbits out of the hat, unless you already have a lot of hats that just happen to have rabbits.

-----------------------------------

Creating The Bin



First off, you're going to need a place to put all of your PERL scripts. The most common method is to set up a directory where all of your PERL scripts will sit. There are other methods of doing this. In fact, I've worked with server operating systems that don't require a directory to be set up. As long as the PERL script had the extension "cgi", it could sit anywhere. I wasn't fond of that. I set up the directory anyway.

If you want to do this a different way, by all means go ahead. I'm simply sticking with the method I'm most use to. So, let's make a directory, shall we?

I suggest you name the directory you are about to create "cgi-bin" as that is what I am going to call it the rest of the way through these primers. Please notice that is a hyphen between the "cgi" and the "bin." ...

Read article at Internet.com site
Related Articles
- Client-side Versus Server-side Coding - Part 1
Understanding the difference between client-side code and server-side code is critical in Web development. This installment of the "Term of the Week" column address client versus server-side.
- So You Want Interactive Form Elements, Huh?
- Personal search engine
- Writing the E-mail
- User Code: Multiplexing Output Streams
- Working with the TextStream Object
- Branching Method
- JavaScript Security
- Learning PHP: Installing and Configuring
- Password Protection

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML