in reply to Re: IIS and Perl, yippee
in thread IIS and Perl, yippee

How do i access form variables that are set up to POST.. I read the FAQ and the link to a function to do this is broken... Thanks.

Replies are listed 'Best First'.
Re: IIS and Perl, yippee
by gregorovius (Friar) on Jul 21, 2001 at 18:42 UTC
    You should use the CGI.pm module for that. Here's a snippet, but you should browse the CGI.pm documentation that is bundled with the Activestate Perl docs.

    Alternatively you should be able to access the form params from the request object that ASP provides automatically. I don't recall right now how to get to it, but it's surely in the Activestate docs.

    my $query = CGI->new; # save POST and GET parameters into %FORM foreach ($query->param) { $FORM{$_} = $query->param($_); }
      Ok, i'm just going a little nuts here... can someone just give me a straight-shot solution and such... i've added the chdir line... i'm still using WSH unfortunately, and the script still doesnt run. My permissions for the site are for read and write, so i should be able to run the script on the page. I'm not sure what else i'm forgetting....