Kodun ilgili peice altındadır. Php.net göre ben hiçbir çıkış, hatta herhangi bir boşluk olduğundan emin olmak gerekir. Herhangi yoktur. php etiketi hiçbir boşluk ondan önceki belgede ilk etikettir. Ben yanlış ne yapıyorum?
<?php
// main.php
// 6:48 PM 8/6/2010
include('config.php');
// Does myid cookie exist?
if ( !isset( $_COOKIE['myid'] ) )
{
// Generate myid
$myid = substr(md5(date( 'Ymdhis' ) . str_replace( '.', '', $_SERVER['REMOTE_ADDR'] ) ), 0, 10);
// set the cookie
setcookie( 'myid', $myid, time() + 31536000 );