Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: IIS and Perl, yippee

by gregorovius (Friar)
on Jul 21, 2001 at 01:20 UTC ( [id://98539]=note: print w/replies, xml ) Need Help??


in reply to IIS and Perl, yippee

The command you are using will create the file if it isn't there. It looks more like a permissions problem. Have you checked that the user you run IIS as has write permission on the directory where you want to write? Which directory is this? You need to add the chdir statement !me recommends.

Also, it would be much simpler if you got rid of the VBScript and placed your perl program directly on the ASP file. Look at the Perl-Win32-ASP faq for how to do this.

Replies are listed 'Best First'.
Re: Re: IIS and Perl, yippee
by matrix_man (Initiate) on Jul 21, 2001 at 17:11 UTC
    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.
      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....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://98539]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found