Answer the question
In order to leave comments, you need to log in
How to make file access only with extension?
When accessing the
test.com/libs/css/main.css
path in the browser
, the libs.php file script is executed, which lies next to the index.php file.
I need to make sure that the libs.php file can only be accessed by specifying the extension.
How to do it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question