Perl Login Script

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Lynn David Newton
日付:  
題目: 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