Code: Select all
function user_check() {
session_start();
header("Cache-control: private");
if(isset($_SESSION['name'])) { header("Location: http://www.kcc.com/loginbox.php"); exit; }
}Code: Select all
user_check();Fatal error: Cannot redeclare user_check() (previously declared in /home/pinehead/www/functions.inc.php:5) in /home/pinehead/www/functions.inc.php on line 4
Any ideas? Thank you for your time.
Anthony