Need help with password - new to perl

From: Dan (daniel_fox_at_comcast.net)
Date: 05/26/04


Date: 25 May 2004 17:37:31 -0700

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



Relevant Pages

  • Historical
    ... But I need a new number crunching and Windows screen ... What that means is that I can develop Perl ... is one of the main reasons I stored that Perl.html Web page at my Web site. ... accept keystrokes from the computer keyboard and act on them when the key is ...
    (comp.lang.perl.misc)
  • Re: logging delays via "logger", tried "Sys::Syslog" but I get nothing ...
    ... I wish I could point you to a specific web site, ... around trying to find out about my problem, I recall running into some key ... Even if you are running perl 5.6 and don't need to do something extra to ... flushing of buffers on solaris. ...
    (comp.lang.perl.modules)
  • RE: What are the differences between Perl and PHP when handling with Web pages
    ... I think perl can be used for more applications than PHP. ... You don't really need scripting to build a web site. ... there are people programming in PHP and perl. ...
    (perl.beginners)
  • Re: Do I need to use perl?
    ... I am developing a web site for a e-commerce business I will be ... Look for an application that runs on your website. ... Has that replaced Perl and are CGI Scripts still used? ...
    (comp.lang.perl.misc)
  • Re: Making TCL automatically fill in tedious web-based forms
    ... >>time waiting for the web site to provide form boxes and other things to ... >>data in a text file and somehow automatically drive the web site using some ... with a Perl application whose name I ... Do you like Tcl? ...
    (comp.lang.tcl)