CGI Revisited

They have: 3 posts

Joined: May 2002

I am trying to get scripting to work. My host gave me the proper paths yet when I try to "submit" the form my browser wants me to download a file rather than just displaying the results in the browser. Here is a link off my website to a test form page:

http://www.brustasconsulting.com/perl.htm

I am using 2000 pro, and when I use the IIS built in to my PC it gives me an internal error. I figured it would be easier to test and learn this stuff locally rather than FTPing over and over again...but that didn't help either!

I feel like I must be missing something really basic here. Obviously I am new to forms and CGI but I have a bit of experience in web design over the past few years.

Suggestions appreciated!!

Paul in San Diego

Legal questions or needs? Visit http://prepaidlegal.com/info/pbrustas

Answers to problems don't need to cost a fortune to obtain!

They have: 105 posts

Joined: Jan 2002

I put the files on my server and filled in the form. It works. Try changing the first line in your perl file (test.pl, I think) to #!/usr/bin/perl or whatever the path is to perl on your server.

CPRhosting.com - CPR Hosting...Giving life to the web
Custom-made Hosting Plans starting at $2

They have: 3 posts

Joined: May 2002

Interesting as the Dickens, I might add!

The shebang file points to the server right where the host says it is. And I can't telnet into it, to conduct a search.

Legal questions or needs? Visit http://prepaidlegal.com/info/pbrustas

Answers to problems don't need to cost a fortune to obtain!

They have: 105 posts

Joined: Jan 2002

[post removed]

They have: 4 posts

Joined: May 2002

You should double check the path, because usally when the script doesnt run or give you a cgi error, it is the path.

Also, try method="post" instead.

Goodluck! Smiling

Sarah :c)

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.