<?php include ("config.php");
$login = $_POST['login'];
$pass = $_POST['password'];
if ($login == $log and $pass == $passw)
{
echo "";
}
else
{
echo "Хер там";
}
?>
Так вот как сделать вот тут
{
echo "";
}
переадресацию скажем на index2.php?
пробовал не echo а header("location: /index2.php");
Ругается : Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\admin\index.php:24) in D:\xampp\htdocs\admin\index.php on line 32