Do I not like it when clients decided to organise their own hosting. Even though we strongly advice we sort it.
My client got their IT company to set-up the hosting and so far this has not been very good, took them 24 hours to make the site live even though the domain was registered weeks ago.
Anyway the problem I have now the site is live at its domain is that the PHP forms on my site are not working.
The same site running on my test domain via my own hosting package (From our very own Dave) all the forms work as they should. Site hosted by Web Fusion.
I have noted that the IT company have set the hosting up as windows hosting, does this make any difference.
What should be telling the IT company do to, to make the forms work.
It certainly can be a problem. For one thing, PHP sending Mail on a server is often a huge issue. Windows doesn’t provide the sendmail service, so it has to be configured to substitute a SMTP server of some sort. This configuration has to happen at the server level, you can’t configure it in your site using a php.ini or .htaccess file locally.
First thing to determine is if the server is actually set up to handle PHP at all. That’s not a foregone conclusion on a Windows server, particularly if it is running IIS rather than Apache. Second, find out what the local mail service is, how it is configured, and whether you need to do anything special when sending mail using the php mail() function.
The ideal solution would be for the IT company to configure a standard Unix or Linux server with Apache2 and PHP 5.3 or better. That sort of commodity service will cost roughly $7/month tops, and will run for years without interruption or need for effort on their part. Of course, that makes it difficult for an IT company to justify their fees, which is (in my opinion) the only reason why Windows is ever recommended in the first place – for any purpose!
Walter
On Feb 16, 2013, at 12:24 PM, Mike Thornley wrote:
I have noted that the IT company have set the hosting up as windows hosting, does this make any difference.
What should be telling the IT company do to, to make the forms work.
The only thing I can think off is the windows hosting is using ASP for server side scripts. Linux usually uses php. You would need to find out what their I.T. set up exactly.
On Feb 16, 2013, at 9:44 AM, “Mike Thornley” email@hidden wrote:
Forgot to mention the form doesn’t submit it goes direct to the error page.