views:

30

answers:

2

I've never experienced this problem. I have two hosting accounts, one with godaddy, and one with hostgator. There are identical files on these two URLS:

http://www.cloth2clay.com

and

http://www.vitaminjdesign.com/cloth/cloths/

Both websites look the same, but there is one major difference. When filling out the contact form on the second link, it works correctly and gets sent to me. One the first link, you press submit, and the success message doesnt show up and the mail is never sent. It doesnt work! The files are IDENTICAL. it makes no sense to me. The contact form is PHP and ajax. Perhaps its something on godaddys backend? Any ideas?

+2  A: 

Chances are the configuration settings (or even the version) for PHP and/or its modules differ between the two hosting services. Try creating a script that has only the following in it:

<?php
    phpinfo();
?>

And viewing it in a browser; you can then compare the settings for both.

Amber
ok, you might be on to something. THe working version has a PHP version of 5.2.11 and the non working version is 4.3.11. So Im guessing I have to call them to update it?
JCHASE11
No, mail() should work on both of them.
Pekka
nope, it worked after i upgraded php versions.
JCHASE11
A: 

the mail is never sent

You're emailing the form? I'm guessing GoDaddy doesn't support mail().

Mark