My php code is showing directly inside of excuting
Category: Send Email From A Page
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
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.
Like this Question? Tweet
Related ArticlesHow to Download the PHPMailer
Why won't my PHP app send mail?
How to Set up FormMail
Using PHPMailer to Send Mail through PHP
How to Send Email from a Web Page
You are NOT logged in. You can still browse our Support Center.
To participate within our Community Support Forum: