Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Getting 403 error accessing .php file

Started by Chris Lloyd 9 years ago · 0 replies · 1171 views
9 years ago

I built a simple contact form using HTML, and I am posting it to a .php mailer I setup. I am getting a 403 forbidden access error when trying to access the php file.

I don't see anyone else using php files with grav anywhere in the forums so I am expecting that this is a no no. I haven't been successful in setting up the built in forms, and it seems like a very difficult method to setup a simple contact form.

Can we use php files with Grav? If so, why am I getting a 403 error when trying to access my php file? Every other file and directory (custom or otherwise) is working fine.

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Anna, 2 days ago
2 51 15 hours ago
Forms & Blueprints · by Anna, 3 days ago
7 81 15 hours ago
Forms & Blueprints · by Anna, 1 week ago
5 185 6 days ago
Forms & Blueprints · by TomW, 1 month ago
3 377 1 month ago
Forms & Blueprints · by Japhy, 2 months ago
2 593 2 months ago