InMotion Hosting Support Center

My php code is showing directly inside of excuting


sindhura2106
Asked:
2015-12-22 1:58 am EST

Hits: 57
I am trying to invoke a php code from a html form by giving <form name="contactform" method="post" action="send_form_email.php"> after I open my html from htdocs folder Iand click on submit it is showing me the php script directly I want the server to excute the script rather than showing me

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

christopherm
Staff
11,130 Points
2015-12-22 11:16 am EST
Hello,

Thank you for contacting us about your PHP contact form issue. I advise checking your SMTP settings to make sure that they are configured properly.

Likewise, you can follow your mail logs to check for specific errors.

However, if you're on a shared server then I suggest you contact Live Support so we can check those logs for you.

Best,
Christopher M.

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!