Vamos lá, quando criamos um site e você não quer que o seu código sela Visualizado por seres MALUCOS
Achei uma coisa no google que funfo, Bom isso é para as rapaziadas que gosta de vender site...
Bom ta ai
index.php
Código PHP:
session_start();
$_SESSION["chave"] = true;
<html>
<head>
<title>teste: Ocultando CSS</title>
<link rel="stylesheet" rev="stylesheet" type="text/css" href="css/teste.php">
</head>
<body>
<div class="geral">
</div>
</body>
</html>
Depois crie outro arquivo que não seje .css '-' e sim php né...
teste.php
Código PHP:
session_start();
if($_SESSION["chave"]):
.geral{
width:780px;
height:400px;
background:silver;
border:2px solid cyan;
margin:auto;
}
$_SESSION["chave"]=false;
else:
print "endereço não encontrado";
endif;
FONT GOOGLE, NO MEU FUNFO !
---------- Post added at 10:58 AM ---------- Previous post was at 10:51 AM ----------
Código PHP:
session_start();
$_SESSION["chave"] = true;
DA UM FALSE NO TRUE E PRONTO
---------- Post added at 11:05 AM ---------- Previous post was at 10:58 AM ----------
FUNCIONA PRA TUDO EM, JS, HTML ????????????????????????? Não sei