Perl Login Script

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Lynn David Newton
Datum:  
Betreff: 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