S
S
SixthHouseCult2020-02-19 20:41:45
MySQL
SixthHouseCult, 2020-02-19 20:41:45

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

2 answer(s)
A
Anton, 2020-02-19
@sHinE

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.

S
SixthHouseCult, 2020-02-26
@SixthHouseCult

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 question

Ask a Question

731 491 924 answers to any question