Can anyone tell me what is wrong with this code?
[code=php]
<?php
if (isset($_COOKIE['referralcookie ']['refid'])) {
$url = $row_rsCookieRe ferral['cookiereferral _hoplink'];
header("Locatio n: $url");
}
?>
[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
['referralcookie ']['refid'] is a cookie I have set and
rsCookieReferra l is a recordset I have on my page
My main issue is that I am getting this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXMY_USERNAMEX XX/public_html/index.php:69) in /home/ezcogtem/public_html/index.php on line 73
[code=php]
<?php
if (isset($_COOKIE['referralcookie ']['refid'])) {
$url = $row_rsCookieRe ferral['cookiereferral _hoplink'];
header("Locatio n: $url");
}
?>
[/code]
[Please use CODE tags when posting source code. Thanks! --pbmods]
['referralcookie ']['refid'] is a cookie I have set and
rsCookieReferra l is a recordset I have on my page
My main issue is that I am getting this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXMY_USERNAMEX XX/public_html/index.php:69) in /home/ezcogtem/public_html/index.php on line 73
Comment