Answer the question
In order to leave comments, you need to log in
I started to get an error when accessing the mysql database through submitting a form, how to fix it?
writes an error when submitting a form to contact the mysql database. Warning: include(C:\OSER\OSPanel\domains\localhost\organizer\tabs): failed to open stream: Permission denied in C:\OSER\OSPanel\domains\localhost\organizer\index.php on line 171
Warning: include (): Failed opening 'tabs/' for inclusion (include_path='.') in C:\
OSER \OSPanel\domains\localhost\organizer\index.php on line 171 found please help
Answer the question
In order to leave comments, you need to log in
Show line 171 after all, otherwise your script is trying to include the folder. Most likely there the file name for the include is formed dynamically and turns out to be empty.
Solved a problem. It turned out that I simply forgot to add the POST method to the form, there was no method specified there at all, because of which it transferred the data from the form to GET by default, mixing it with the GET parameter for inclusion and causing an error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question