Thank you, bplex.
But, what I want is create a php page only for registered members with a specific package, not for all registered members. It's possible make this with 2.6 version?
With this code the content is available for all registered members.
Code:
<?php
require("/path/to/include/config.php");
require("/path/to/include/function.php");
if (!isset($_SESSION['USERNAME'])) {
Header("Location: {$config['baseurl']}/login.php");
exit(0);
}
?>
<html>
<body>
<h1>Welcome to Members Area</h1>
</body>
</html>
Bookmarks