Ошибка 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(&quot;Location: /index.php&quot;); юзай head<span style="color:#ff0000">er</span>(&quot;Location: /index.php&quot;);</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(&quot;SELECT id FROM users WHERE login=&#039;$login&#039; &amp;&amp; pass=&#039;$mdpass&#039; LIMIT 1&quot;), 0)));<br> <br> if(!empty($_POST[&#039;save&#039;])){<br> $uid = base64_encode($usid);<br> $upass = base64_encode(md5($pass).$login.md5($pass));<br> setcookie(&#039;mmd&#039;, $uid, time() + 3600 * 24 * 365, &quot;/&quot;);<br> setcookie(&#039;mms&#039;, $upass, time() + 3600 * 24 * 365, &quot;/&quot;);<br> }<br> <br> $_SESSION[&#039;auth&#039;] = TRUE;<br> $_SESSION[&#039;id&#039;] = $usid;<br> <br> head(&quot;Location: /index.php&quot;);<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