I put the following code in my html document:
<?php
include("stylesheet.txt");
$expires = time()+62899200;
if (!isset($cooks))
{
setcookie("cooks","yes",$expires);
echo "<script language=\"Javascript\">window.open(feature.html','Terms','width=430,height=400,scrollbars=yes');</script>";
}
?>
It includes the style sheet and pops up the window, but I get the following error message:
Warning: Cannot add header information - headers already sent by (output started at /www/virtual-cards/test/index.php3:6) in www/virtual-cards/test/index.php3on line 18
Please help!