Forum Moderators: coopster
How to do it with PHP and it will be secure this file?
No, it won't be secure, just because it is included by PHP file. If you want to prohibit direct access to the CSS file go one step above your www folder in the public_html and include it in the html by providing the correct path.
To include the file from root, you might use the following:
../css_file.css
There could be better ways of doing it, but this is what I can think of for now.
Habtom