I have a contact form that uses external php file for validation and sending mail. If I use it as a standalone it works in a normal way, but when I import it into Proccesswire form action input 403 forbidden page.
External php file is declared in form action (sendemail.php)
<form id="form" name="form" method="post" action="sendemail.php">
It also occurs if I specify direct path to sendemail.php using:
<!--?php echo $config--->urls->templates?>sendemail.php
sendemail.php file includes phpmailer.class.php which is also located in templates folder.</form>