Jump to content


Problem Running PHP Script on 2000 Server

  • Please log in to reply
No replies to this topic

#1 Spycat

  • Members
  • Pip
  • Newbie
  • 5 posts

Posted 21 April 2006 - 11:26 PM

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 :)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users