Win2K host vs. CGI Script on Unix

She has: 88 posts

Joined: Sep 2001

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's picture

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?

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's picture

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.

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.

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.

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.