PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
function publishersOnly() {
if (!('10' < $_SESSION['permission'] < '30')|!$_SESSION['logged']) {
$_SESSION['log_to'] = $_SERVER['REQUEST_URI'];
die('This page is available only to registered publishers,
you have to <a href="login.php">login</a> first, if ' .
"you haven't" . ' <a href="signup.php">registered</a> ' .
'yet you can do that for free.');
}
}