Perl Login Script

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Lynn David Newton
Date:  
Sujet: Perl Login Script
Victor> Of course for a CGI you have to fake the
Victor> environment, but cgi.pm is very nice about
Victor> that: it prompts you for the CGI variables,
Victor> so you can enter:
Victor> dempwd=password
Victor> demid=user

A little trick I've used a bunch of times to simplify
that matter is to put dummy data in the parameter=value
format described above in an external file. Then you
can do:

cat thatfile | thescript.cgi

Saves a *bunch* of typing.

--
Lynn David Newton
Phoenix, AZ