Perl Login Script

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Lynn David Newton
Data:  
Temat: 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