Closed Thread Icon

Topic awaiting preservation: Need a little help here (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12238" title="Pages that link to Topic awaiting preservation: Need a little help here (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Need a little help here <span class="small">(Page 1 of 1)</span>\

 
Ducati
Paranoid (IV) Inmate

From: in your head
Insane since: Feb 2001

posted posted 05-29-2002 10:00

Here is the situation.

I have a form that I created and the results will be send to someones email, "thank you" page will be displayed.

The server is a Windows 2K machine.

I looked into Matt Wrights FormMail but it says its for Unix only

any idea where I can get a Perl script for form processing on Windows servers?

MAX

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 05-29-2002 10:26

You have habbit of posting everything in the Ozones forum with extremely general topic names don't you Ducati?

Ever been here - > Server Side Scripting - Oh my!

Ducati
Paranoid (IV) Inmate

From: in your head
Insane since: Feb 2001

posted posted 05-29-2002 11:34



nevermind.. I found it

MAX



[This message has been edited by Ducati (edited 05-29-2002).]

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 05-29-2002 17:26

Thanks for sharing.....

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-29-2002 21:30

This topic really belongs to Server-Side Scripting board (and I'm moving it there). Ducati, please in future try to post in the right board.

And now to answer the question (if anybody else needs the answer) - [url=The All-In-One Forms Processor
]BNBFORM (The All-In-One Forms Processor) CGI script[/url] works under Unix and Windows...


Ducati
Paranoid (IV) Inmate

From: in your head
Insane since: Feb 2001

posted posted 05-30-2002 12:17

ok.. got a problem with this form thing..

the site is on a windows server...

the path to Perl is C:\Perl\bin

so at the begining of the bnbform.cgi I put

#!C:\Perl\bin

correct????

but when I try to test it by post method it gives me

405 Method not Allowed


???

Help????

Also, I am using WS_FTP to transfer files over and yes, I do the cgi stuff is ASCI, but the other thing is, that when I want to change the permissions to cgi-bin on Unix, I just right click on the folder and set it to 755, now with Windows it won't let me!!!!!!! How can I set the permissions on this damn thing!

AAGGHHH!!!!!! I HATE WINDOWS!!!!!!!!!!!!!!!

MAX

[This message has been edited by Ducati (edited 05-30-2002).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-30-2002 21:28

Usage of shebang line (the first #! line) under Windows is different from Unix. It also depends on which web server you use (Apache or IIS) and how it's configured. So, I would suggest you to take a look at the following link:

http://aspn.activestate.com//ASPN/Reference/Products/ActivePerl/faq/Windows/ActivePerl-Winfaq4.html#What_s_the_equivalent_of_the_she


Ducati
Paranoid (IV) Inmate

From: in your head
Insane since: Feb 2001

posted posted 05-31-2002 15:38

Mr.Max thanks for the link

however.. I am still puzzled...

I have path to Perl as c:\Perl

the server is IIS 4.0

I call the script from the form like this:

action="/cgi-bin/bnbform.cgi"

when I try to run the form, the thing just sits there, and nothing happens...

why?

I tried both with the shebang things and without...

help?

MAX

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-31-2002 20:32

Since web server is IIS, shebang line won't do a thing. You should try renaming the script so that it ends with ".pl" extension, which should be associated with PERL (IIS uses information from Windows registry to find out what to do with the file, for example - when you click on .doc file MS Word will start). You should also place the script in a folder that has "Execute" attribute set in IIS.

If the script still doesn't work, your web server probably isn't configured properly to run PERL CGI scripts...


« BackwardsOnwards »

Show Forum Drop Down Menu