More choices, more fun! Get Opera 9, Free!

Win2K host vs. CGI Script on Unix

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

She has: 72 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
DeveloperModeratorSponsor

He has: 2,666 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: 72 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
DeveloperModeratorSponsor

He has: 2,666 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: 72 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's picture

He has: 902 posts

Joined: Feb 2004

This is why universal protocols where invented....
Use http, ftp, smtp ect.. and everything should be accepted.

She has: 72 posts

Joined: Sep 2001

Thanks for the reminder. I'll be sure to do that.