关于Setcookie问题

关于Setcookie问题

<?php
$value = 'something from somewhere';

setcookie("TestCookie", $value);
setcookie("TestCookie", $value, time()+3600);  /* expire in 1 hour */
setcookie("TestCookie", $value, time()+3600, "/~rasmus/", ".example.com", 1);
echo"5665453133";
?>
<a href="Untitled-2.php">saffsadsdaf</a>
<form id="form1" name="form1" method="post" action="Untitled-2.php">
  <table width="550" border="1" cellspacing="0" cellpadding="0">
    <tr>
      <td> </td>
      <td> </td>
      <td><input type="submit" name="Submit" value="提交" /></td>
    </tr>
  </table>
</form>



在本地预览时没有错,可是传到网上的空间时提示有错,提示如下:
Warning: Cannot modify header information - headers already sent by (output started at /www/winetcn/zzp411com/Untitled-1.php:10) in /www/winetcn/zzp411com/Untitled-1.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /www/winetcn/zzp411com/Untitled-1.php:10) in /www/winetcn/zzp411com/Untitled-1.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /www/winetcn/zzp411com/Untitled-1.php:10) in /www/winetcn/zzp411com/Untitled-1.php on line 15
为什么有了提交按钮就有错误呢?应该怎么改?

setcookie之前不能有任何输出
如履薄冰

公告没人看啊! 帖子内容包含代码请用CODE包起来!