denemek için oluşturduğum sayfadaki kod :


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test c</title>
</head>

<body>
<?php
setcookie("deneme","test",time()+30000);
?>
</body>
</html>
dosyayı domainden açtığımda ftpde dosya dizininde oluşan error_log dosyası içeriği :

[06-Sep-2012 19:57:02] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***********/public_html/test/beta/cookietest.php:9) in /home/***********/public_html/test/beta/cookietest.php on line 10
Not : sayfada yukarıdaki kodlar dışında herhangi bir ek kod yok..

umarım yardımcı olucak birisi çıkar