![]() |
|
|
|
|
|||||||
| HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!) |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey when I open my website with full path to my css file can see it.
Code:
http://www.mydomain.com/css/style.css |
|
#2
|
||||
|
||||
|
In the folder with the css files do file ndex.php with the following content:
PHP Code:
PHP Code:
Code:
RewriteEngine on RewriteRule style.css style.php |
|
#3
|
|||
|
|||
|
Is it possible to hide my css file without using of .htaccess file? So much .htaccess file I will be confused.
|
|
#4
|
||||
|
||||
|
In the page where are includes a CSS file, write this on top:
PHP Code:
PHP Code:
PHP Code:
|
|
#5
|
|||
|
|||
|
thanks for this share..i also have the same problem..
|
|
#6
|
|||
|
|||
|
Unfortunately, both of these techniques don't hide the CSS files from appearing or to be traced down, e.g. using the FireBug firefox addon.
In another place, Hide your CSS Source - PHP Code Snippet I think this perhaps works effective, I tested it partially, due to my lack of php_myadmin. It requires to create a mysql table, like this table -> style But I don't know how to create this MySql table and what is `style', is it a table in the 'table' database? what are the arguments to be filled? I'm using the XAMPP for php/mysql. Thank you |
|
#7
|
|||
|
|||
|
Vron I tried that and its not working for me
any ideas? |
![]() |
| Tags |
| css, files, folders, hide, hosting, web |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|