kangarootaz
29th July 2004, 11:49 AM
Works fine sofar but when a affiliate link comes to the index.phh page it looks like it will give probs withe the cookies ?
Cannot send session cache limiter - headers already sent (output started at /home/www/web01 .....
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web01/html/index.php:2) in /home/www/web01/html/australien_affiliate/affiliate.php on line 9
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 11
this is my affiliate.php:
<?php
if($_GET['ref'])
{
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
session_start();
$_SESSION['ref'] = $_GET['ref'];
include "./australien_affiliate/affconfig.php";
mysql_connect($
server, $db_user, $db_pass)
or die ("Database CONNECT Error (line 17)");
mysql_db_query($database, "INSERT INTO clickthroughs VALUES ('".$_GET['ref']."', '$clientdate', '$clienttime', '$clientbrowser', '$clientip', '$clienturl', '')");
}
?>
an this the index.php:
<html><?PHP include "australien_affiliate/affiliate.php"; ?>
................................
so i have no ideas about that issue ??
Cannot send session cache limiter - headers already sent (output started at /home/www/web01 .....
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 6
Warning: Cannot modify header information - headers already sent by (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 7
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web01/html/index.php:2) in /home/www/web01/html/australien_affiliate/affiliate.php on line 9
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/www/b01/html/index.php:2) in /home/www/b01/html/australien_affiliate/affiliate.php on line 11
this is my affiliate.php:
<?php
if($_GET['ref'])
{
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
SetCookie ("ref",$_GET['ref']);
session_start();
$_SESSION['ref'] = $_GET['ref'];
include "./australien_affiliate/affconfig.php";
mysql_connect($
server, $db_user, $db_pass)
or die ("Database CONNECT Error (line 17)");
mysql_db_query($database, "INSERT INTO clickthroughs VALUES ('".$_GET['ref']."', '$clientdate', '$clienttime', '$clientbrowser', '$clientip', '$clienturl', '')");
}
?>
an this the index.php:
<html><?PHP include "australien_affiliate/affiliate.php"; ?>
................................
so i have no ideas about that issue ??