We have a php script that we use for a contact-form in our theme subdirectory
What setting is needed in .htaccess for running such a script in /user/theme/name/include/script.php
Need help please
We have a php script that we use for a contact-form in our theme subdirectory
What setting is needed in .htaccess for running such a script in /user/theme/name/include/script.php
Need help please
Check this guide on how to setup a contact form using the Form plugin. Calling PHP files directly is not permitted, by default, in Grav.
If you want to add a custom processing when the form is sent, beyond the options made available by the Form plugin, you can create a plugin to do so.