Je moet ingelogd zijn om te stemmen.
<?php if (isset($_SESSION['displayname'])) { echo 'blaat'; } else { //die login etc } ?>
<?php if (isset($_SESSION['displayname'])) { echo 'blaat'; } else { //die login etc }?>
<?php session_start(); ob_start(); $hosting = "*"; $user = "*"; $pass = "*"; $database = "*"; $iDB = mysql_connect ($hosting, $user, $pass) or die (mysql_error ()); mysql_select_db ($database, $iDB) or die (mysql_error ()); $siteurl = "http://www.*/"; ?>
<?phpsession_start();ob_start(); $hosting = "*";$user = "*";$pass = "*";$database = "*"; $iDB = mysql_connect ($hosting, $user, $pass) or die (mysql_error ()); mysql_select_db ($database, $iDB) or die (mysql_error ()); $siteurl = "http://www.*/"; ?>