How to hide php queries path location?

i tried to search around the net for this question but i didn’t found nothing.

The problem is that i have a index.html and using angularjs i call in query/ directory .php files for example connection.php (that connect to the database mysql), users.php (number of users registered to my website) the problem is that if someone try to write www.mywebsite.com/query/ can see the list of the queries present into my database, there is a method to block them? i tried to edit .htaccess file changing the path but writing the changed path there is the same problem.

Thanks


Source: php

Leave a Reply