Ошибка Location: - Visavi.net
https://visavi.net/
RSS - Visavi.net
https://visavi.net/assets/img/images/logo_small.png
RSS - Visavi.net
https://visavi.net/
[email protected] (admin)
[email protected] (admin)
Sun, 12 Jan 2025 03:41:47 +0300
-
<blockquote class="blockquote"><strong>ZiGR</strong> (18 Октября 2011 / 22:13)<br>
Эмм... Вместо head("Location: /index.php"); юзай head<span style="color:#ff0000">er</span>("Location: /index.php");</blockquote>
спасибо! Тема офф
https://visavi.net/topics/25759/434949
Ошибка Location:
Wapuns
Tue, 18 Oct 2011 22:21:26 +0400
Сообщения
https://visavi.net/topics/25759/434949
-
Выдает ошибку!<br>
Fatal error: Call to undefined function head() in C:\home\cms\www\moduls\system\enter.php on line 51<br>
Вот код, не весь!<br>
<br>
}else{<br>
$usid = abs(intval(mysql_result(mysql_query("SELECT id FROM users WHERE login='$login' && pass='$mdpass' LIMIT 1"), 0)));<br>
<br>
if(!empty($_POST['save'])){<br>
$uid = base64_encode($usid);<br>
$upass = base64_encode(md5($pass).$login.md5($pass));<br>
setcookie('mmd', $uid, time() + 3600 * 24 * 365, "/");<br>
setcookie('mms', $upass, time() + 3600 * 24 * 365, "/");<br>
}<br>
<br>
$_SESSION['auth'] = TRUE;<br>
$_SESSION['id'] = $usid;<br>
<br>
head("Location: /index.php");<br>
}<br>
break;
https://visavi.net/topics/25759/434935
Ошибка Location:
Wapuns
Tue, 18 Oct 2011 22:10:43 +0400
Сообщения
https://visavi.net/topics/25759/434935