For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > May 2004 > Very New To Perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Very New To Perl
Dan

2004-05-24, 3:30 pm

hello,
I am very new to Perl. I need to create a password protected page on a
web site, and JavaScript is not secure enough. I found a PERL script,
but I cannot get it to work. I have the following files:
cgi-lib.pl
pass.pl
denied.txt
pass.txy

My web provider supports perl, and I need to do the following:
Perl 5 Location
#!/usr/bin/perl

What files do I need to put int he cgi_bin folder?

For example the full path to your www directory would be:
"$ENV{'DOCUMENT_ROOT'}/www"

The full path to your cgi-bin directory would be:
"$ENV{'DOCUMENT_ROOT'}/cgi-bin"

Which file should containt the document_root?

Also what do I need to down load to test Perl scripts on my home PC. I
have found some files, but no way to run them.
Dan
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com