OK,
When clicking an ad, it will pass the ad_id var and having retrieved $url from the DB, the clicks.php script will contain something like this:
// Ad redirect to email application
if (ereg("@",$url))
{
header("Location: mailto:$url");
exit;
}
// Ad redirect to url
else
{
header("Location: [url]http://[/url]$url");
exit;
}
Thx
bvsureshbabu