I'm trying to create a user area on my site with PHP and MySQL, so far I've been able to make the login system and a private page for clients.
The question is how could I make a single page available to each customer?
My goal is to provide unique download links for each user so that another user can not access, I will do so from Google Drive, but I do not know how to show the links exclusively for each client (even tried to insert the links in the database and show them with echo however this would prevent me from customizing them with CSS and HTML afterwards).
Here is the code I want to implement:
<?php
include_once ("setting.php");
@session_start ();
$nome = $_SESSION ['nome'];
$usuario = $_SESSION ['usuario'];
if (!isset($_SESSION['nome']) && !isset($_SESSION['usuario'])){
header('location: login.php');
exit;
}
?>