how to put php script outside root?
-assume i have root C:/xampp/htdocs
-i put my html/php to display homepage in htdocs/home.php
-then i put my database connection script outside htdocs, i put it in C:/xampp/database/mysqli_connect.php
-after that i use :
Code: Select all
how to do this correctly?