Kodlama Şu Şekilde
<?php

@session_start ();

include("../Ayar/ayar_tum.php");



$ReferansKodu = mysql_real_escape_string($_GET['ReferansKodu']);



if($ReferansKodu=="")

{

header("Location:".$ayar[SiteAdresi]."/uye_ol");

}

else

{

setcookie("ReferansKodu",$ReferansKodu,time()+1000 00);

header("Location:".$ayar[SiteAdresi]."/uye_ol");

}

?>




Hatalar Şu Şekilde

Warning: include(../Ayar/ayar_tum.php) [function.include]: failed to open stream: No such file or directory in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1

Warning: include(../Ayar/ayar_tum.php) [function.include]: failed to open stream: No such file or directory in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1

Warning: include() [function.include]: Failed opening '../Ayar/ayar_tum.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'root'@'localhost' (using password: NO) in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1

Warning: Cannot modify header information - headers already sent by (output started at /home/hitt/public_html/Data/DataSayfa/Referans.php:1) in /home/hitt/public_html/Data/DataSayfa/Referans.php on line 1