PHP interesse |
|
Warning: Cannot modify header information - headers already sent by ...
krijg ik terwijl hetzelfde script normaal altijd gewerkt heeft.
hier de in.php iemand mss die tips hierbij kan geven ofzo.. ?
<?php
error_reporting(E_ALL ^ E_NOTICE);
include("config.php");
$site['url'] ="http://babe-hunter.virtual-knowledge.be/";
$partner = mysql_query("SELECT link FROM links_url WHERE id='".$_GET['id']."'");
if(mysql_num_rows($partner)) {
if(isset($_COOKIE['in'])) {
}
elseif(mysql_num_rows($partner))
{
mysql_query("UPDATE links_url SET inhits = inhits + 1 WHERE id='".$_GET['id']."'");
setcookie('in',".$lijst->id.",time()+ 60 * 60 * 24, '/');
header("location: ".$site['url']."");
}
else
{
header("location: ".$site['url']."");
}
}
?>
<?php include("config.php"); $site['url'] ="http://babe-hunter.virtual-knowledge.be/"; $partner = mysql_query("SELECT link FROM links_url WHERE id='".$_GET['id']."'"); if(isset($_COOKIE['in'])) { } { mysql_query("UPDATE links_url SET inhits = inhits + 1 WHERE id='".$_GET['id']."'"); header("location: ".$site['url'].""); } else { header("location: ".$site['url'].""); } } ?>
:cool:
|