Perl/CGI question

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Bill Nash
Dátum:  
Tárgy: Perl/CGI question
On Thu, 16 May 2002, Jim wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have a form that uses POST to pass two name/value pairs to a perl script.
> What is the best way to get those name/value pairs into a perl array?
> - --


    Pretty sure the POST method passes the data via STDIN. Split it on
the & to generate key=data pairs, and split each pair on the =.


- billn