Warning: Cannot modify header information - headers already sent by (output started at /home/u622371501/public_html/up.php:6) in /home/u622371501/public_html/un_up.php on line 15
кусок index.php :
<?
require 'up.php';
?>
<?
require 'un_up.php';
?>
<table class="main_cont" border="0">
<tr>
<td class="l_cont">
up.php :
<html>
<title>заголовок</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<META Name="revisit-after" Content="1 days">
<meta name="description" content="текст">
<meta name="keywords" content="текст">
<link rel="shortcut icon" href="main/faviconka.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" media="all" href="main/style.css">
<body>
<div class="white_sh">
<div style="position:absolute; width:900px;margin-left:-450px;left:50%; top:49px;text-align:center;padding-left:1px;">
<h1>• текст • текст • текст • текст • текст •</h1>
</div>
<div class="logo"></div>
<div class="scis1"></div>
<div class="up_line"></div>
<div class="buttons" oncontextmenu="return false;">
<a id="but" href="index.php">главная</a><a id="but" href="1.php">11111</a><a id="but" name="button" href="2.php">22222</a><a id="but" href="about.php">3333333</a><a id="but" href="blog.php">444444</a></div>
un_up.php :
<div class="buttons">
<form method="post">
<input class="m_but" name="1" type="submit" value="текст">
<input class="m_but" name="2" type="submit" value="текст">
<input class="m_but" name="3" type="submit" value="текст">
<input class="m_but" name="4" type="submit" value="текст">
<input class="m_but" name="5" type="submit" value="текст">
<input class="m_but" name="6" type="submit" value="текст">
<input class="m_but" name="7" type="submit" value="текст">
<input class="m_but" name="8" type="submit" value="текст">
</form>
</div>
<?
if($_POST["1"]==true){
header("Location:i_1.php");
} else if($_POST["2"]==true){
header("Location:i_2.php");
} else if($_POST["3"]==true){
header("Location:i_3.php");
} else if($_POST["4"]==true){
header("Location:i_4.php");
} else if($_POST["5"]==true){
header("Location:i_5.php");
} else if($_POST["6"]==true){
header("Location:i_6.php");
} else if($_POST["7"]==true){
header("Location:i_7.php");
} else if($_POST["8"]==true){
header("Location:i_8.php");
}
?>