Forum Moderators: coopster

Message Too Old, No Replies

PHP script different for Linux and Windows servers?

         

caran1

10:11 am on Jun 19, 2005 (gmt 0)

10+ Year Member



I have a simple PHP script for a registration form which was working fine on different websites which are hosted on windows and linux servers. Now I do not receive the email message formed for the website hosted on windows server. There is no problem with the script for the linux server. Should I modify the windows script or is it a server problem?
I dont know much about PHP, so any help is appreciated

Blackie

11:30 am on Jun 19, 2005 (gmt 0)

10+ Year Member



If you post the code that does not work here, we probably would be able to say more :-)

mcibor

9:50 pm on Jun 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As you probably use the mail() function, then you must know that it uses the mailserver, not apache. Therefore the very probable reason for a script not to work on Windows is that you didn't install any mailserver there.

Best regards
Michal Cibor

caran1

2:16 am on Jun 20, 2005 (gmt 0)

10+ Year Member



Thanks for the replies. I got a reply from the hosting company. they forward the email to email@mydomain.com and then forward it to my ISP address
The function seems to work only with free email addresses like hotmail and not with ISP addresses for the windows server .