hello,
I just downloaded CN-Cat link. Everything seems ok, but i couldn't get the link to open...
anyways, here is what i have:
<a target=_blank href='jump.php?%ID'>Link</b>
Let's assume the link added was www.url.com. When I clicked on The link above, i couldn't get it to open www.url.com, instead it opens something like below:
http://localhost/www.url.com
below is jump.php
error_reporting(E_ALL & ~E_NOTICE);
ini_set("session.use_trans_sid",0);
ob_start();
include "config.php";
$cid=intval($QUERY_STRING);
@mysql_query("UPDATE main SET gout=gout+1 WHERE lid='$cid';");
$r=mysql_query("SELECT url FROM main WHERE lid='$cid';") or die(mysql_error());
if (mysql_num_rows($r)!=1) die("URL not found.");
$url=mysql_result($r,0,0);
header("Location: ".$url);
Not too sure if this is header() problem, or something else, can someone please help me look at it..
thanks