Win2K host vs. CGI Script on Unix
I'm working on an existing site currently being hosted on a Win2K server. The site has a couple forms whose action is mailto:. Needless to say, it works sporadically. I have never before worked on a Win2K server, but I'm wondering if I can use a CGI script that I have hosted on a Unix server as the formmail script rather than the mailto:?
Does this make any sense?
timjpriebe posted this at 19:59 — 7th December 2005.
He has: 2,667 posts
Joined: Dec 2004
As long as your Win2K server is set up to properly handle that CGI script (whether it be Perl, PHP or whatever), then there should be no problems. You will doubtlessly have to edit some paths and such, but that should be it.
What language is your CGI script written in?
Tim
http://www.tandswebdesign.com
Dami posted this at 20:39 — 7th December 2005.
She has: 88 posts
Joined: Sep 2001
Thanks, Tim. So there might be problems with sending the form data to the Unix server for formmail handling? What questions should I ask the Win2K host to find out?
timjpriebe posted this at 21:45 — 7th December 2005.
He has: 2,667 posts
Joined: Dec 2004
Oh, I think I misunderstood. Are you wanting to send the results from the form on the Win2K server to a form handler on the Unix server?
If that's the case, I believe that as long as the form script on the Unix server accepts form results from the requesting domain, there's no problem.
Tim
http://www.tandswebdesign.com
Dami posted this at 21:52 — 7th December 2005.
She has: 88 posts
Joined: Sep 2001
Oh, good! The pages were constructed in FrontPage (shudder) and I can't test it until I get to a computer with FrontPage to upload the form. Thanks again, Tim.
bja888 (not verified) posted this at 02:05 — 8th December 2005.
They have: 5,633 posts
Joined: Jan 1970
This is why universal protocols where invented....
Use http, ftp, smtp ect.. and everything should be accepted.
Dami posted this at 03:37 — 8th December 2005.
She has: 88 posts
Joined: Sep 2001
Thanks for the reminder. I'll be sure to do that.
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.