Hi guys, having a problem with a .php script that a friend of mine made (tried to get help from him but he is out of the country at the moment, and I would really like to get this fixed). It's a fairly straightforward script, which I have used with success on other websites (and my Totalchoicehosted site) to take the information from an html form and send it as text to an email address.
What's so weird is that this script used to work on my TCH site, and in fact, only stopped working two weeks or so ago according to the client (I am jsut a designer). Now it brings up a page with a 500 Internal Server Error, script may be misconfigured, etcetc. It definitely used to work, I tested it heavily..and I have not made any changes to the script since. So to test, yesterday, I uploaded the script and the HTML form to another web domain (not TCH hosted) and it does work there as expected. (I receive the email, and the "Thank you" page displays).
What could have gone wrong? I tried to contact TCH for support but they can't help with coding issues, but were able to share this:
I've looked at the script, but I haven't made any changes, so I'm at kind of a loss. Any suggestions for what could have gone wrong? I have tried deleting and reuploading the .php
Thanks!