خرید بک لینک

Vote count: 0

I am trying to make ip tracking system for my web and then inserting it into the sql.

But my problem is that on a single click i am getting 2-4ip in my sql.

Coding am using this currently.

<?php
include 'config.php';
$ip=$_SERVER['REMOTE_ADDR'];
$referer=$_SERVER['HTTP_REFERER'];
 mysql_query("INSERT INTO `track`(`date`, `time`, `ip`, `referer`)       
VALUES ( CURDATE(), NOW(),'".$ip."', '".$referer."')");
echo"<script type='text/javascript'>
 window.'http://example.com';
 </script>";
?>

When anyone click on this it is saving around 4ips that too different and even sometimes of different countries.

Why this problem is arising in my tracking system.

asked 25 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 17 تير 1395 ساعت: 22:09

صفحه بندی