Hi, I have a login system where only people who are logged in can see the page that I am comparting use the header in php to appear, but the URL of the collection appears, and I would like to hide .. someone knows how to do it ? I already changed the htcacess and changed the php plus the codes do not work, I'm lost I'll post the page ..
<html>
<head></head>
<body>
<?PHP include('menu.php'); ?>
<?PHP
#session_start();
if(isset($_SESSION['nome_usu_sessao']))
{?>
<div class="borda2 padding20">
<img src="imagens/tesouro.jpg" width="200">
<br>
<?PHP
header ("Location: https://drive.google.com/drive/u/2/folders/");
?>
<a href="logout.php"><strong>Sair</strong></a>
</div>
<div class="borda1 padding20">
<img src="imagens/lock.png" width="200">
<br>
<br>
Esta é uma área restrita, por favor, <a href="login.php"><strong>efetue login</strong></a>
</div>
</body>
</html>
<?php
}
?>