'') { header('Location: '.$url); } else { header('Location: http://spacial.com/'); Exit; };