Jump to content

Recommended Posts

Posted

Hello,

I've searched the AutoIt forums and Google and I am getting a VERY BASIC understanding, but I'm at the point where I would appreciate some guidance regarding the following questions:

I have a website on a shared hosting server.

1. If a HTTP POST is done to a CGI program, can the program be written in AutoIt? I've read about the CGI HTTP protocol and I could EASILY program it in AutoIT, but I was surprised that a search on CGI did provide any hits. Is there a reason NOT to write a CGI program in AutoIt? What is commonly done?

2. How do I create a file on the Web Server? Do I need to know the web application root directory? I see that in ASP, the MapPath method provides translation from a virtual path to a physical path -- is there a way to do that in AutoIt? Would FILEOPEN ("/LOG.TEXT") create a file in the root directory of the Web applicaton? If so, is that the proper way to do it -- just use relative file paths?

Guidance from those who "know" is invaluable -- thank you in advance.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...