Jump to content

Archived

This topic is now archived and is closed to further replies.

Spycat

Problem Running PHP Script on 2000 Server

Recommended Posts

Hello,
I am a web designer, and to process a form I placed a PHP script in it. The script sends input to an e-mail and writes it to a comma-delimited file as well.
Well, I tested it on a Linux server and it works fine. However, when the IT guys placed it on a Windows 2000 server, the form does not process. I got this message from IT:

"I tried installing Apache Webserver for windows and it displays the script on the screen when submitted but does not run the form. Rick, Is there anyway you can convert PHP -> ASP?"

I was under the impression that PHP was OS-neutral.
Further, I do not know ASP and I can't imagine there is a "converter" out there. I also know very very little about Win Servers.
As far as permissions, it is 666 in Linux -- does Windows have a similar function (tho I am unsure if that is indeed the problem).

Earlier, I sent them these 2 links that I thought might prove to be helpful:

[a href=\"http://www.microsoft.com.nsatc.net/technet/archive/interopmigration/linux/mvc/lintowin.mspx?mfr=true\" target=\"_blank\"]http://www.microsoft.com.nsatc.net/technet...n.mspx?mfr=true[/a]

[a href=\"http://www.php.net/downloads.php\" target=\"_blank\"]http://www.php.net/downloads.php[/a]

But I am not sure if they are.
Does anyone know if there are any special things that need to be done/installed in order for Windows Server to run PHP?

Because of their length, I didn't want to copy/paste the entire code here, so
here is a link to the form:
[a href=\"http://www.goodwillsv.org/goodsalesform.html\" target=\"_blank\"]http://www.goodwillsv.org/goodsalesform.html[/a]

Here is a link to the PHP script:
[a href=\"http://www.goodwillsv.org/goodsales_form-send.php\" target=\"_blank\"]http://www.goodwillsv.org/goodsales_form-send.php[/a]

Can anyone help, I sure would appreciate it :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.