CGI- Form help needed
Friend of mine changed her server from a UNIX to a Windows platform and in the process, seemed to have lost the scripts they had for their forms to run properly. I think they used something available on the server. Unfortunately, the CGI scripts are no longer available and they have no idea of how to make it work. They simply want the form results to go to an email address. I have the form and I have a cgi-script that I downloaded from Matt's Script Archive. I just need someone to "hold my hand" to get the correct info put it.
If you can help, please email me at: [email protected], ICQ me at: 169501328 or Yahoo messenger me at: wreckdiver197. Thank you!
Suzanne posted this at 18:58 — 19th March 2004.
She has: 5,507 posts
Joined: Feb 2000
Is Perl installed on the new server?
Riptide posted this at 19:02 — 19th March 2004.
He has: 5 posts
Joined: Mar 2004
I don't know . . .I can check . . .
Suzanne posted this at 19:05 — 19th March 2004.
She has: 5,507 posts
Joined: Feb 2000
Well if it isn't, you're going to have to do more than point the files somewhere. Formmail is written in Perl. It won't work without that language on the server.
Riptide posted this at 19:10 — 19th March 2004.
He has: 5 posts
Joined: Mar 2004
Actually the script I downloaded was "bizmail.pl" . . .
Excuse my ignorance, but that is why it has "#!/usr/bin/perl, "make sure the path to pearl is correct above."
The woman is using Hostway.com. . .
Suzanne posted this at 19:16 — 19th March 2004.
She has: 5,507 posts
Joined: Feb 2000
.pl is an extension that means Perl is the language it's written in.
The shebang (#!/usr/bin/perl) tells the server where to find the language to use to understand the script. If that language is not on the server, there is no way for that path to be correct.
Since even the cheapest Windows server package at Hostway has Perl installed, apparently (did you look on their website?) you can contact the host for the correct path to Perl.
Suzanne posted this at 19:17 — 19th March 2004.
She has: 5,507 posts
Joined: Feb 2000
http://help.hostway.com/documents/faq_cgiscripts.htm
Riptide posted this at 19:51 — 19th March 2004.
He has: 5 posts
Joined: Mar 2004
Thanks, Suzanne . . .
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.