What am I doing wrong?
I have a error about a undefined variable but it is defined or not?
Undefined variable: url in /mnt/web121/d2/33/58167933/htdocs/includes/functions.php on line 74
$url = "http://www.crime-world.eu";
function logincheck(){
if (empty($_SESSION['username'])){
check_legit($url);
echo "<SCRIPT LANGUAGE='JavaScript'>window.location='index.php';</script>";
exit();
}
check_legit($url);
}