PHP generates error 403 in part of the code

Asked

Viewed 55 times

0

I have a PHP page for data registration (using a page with multiple forms), when I register the item "Category" (which registers the data in Mysql) works perfect, but when I register a company gives the error 403.

This happens in the same file (I do the process without using another file) and both forms just register the data in Mysql. I have tried to change and delete . htaccess but it did not work.

Everything was working and I came to register several categories and companies and suddenly he started with this error.

  • Browse the server logs (apache, Nginx, etc) and also activate all php error logs.

  • Present the codes. There may be something that went unnoticed

  • This can be some safety rule. If you use the mod_security (or similar) it can block "suspicious" requests, presenting the 403.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.