Created
February 19, 2016 00:18
-
-
Save jrivero/4acbe07e4ee4da189e3c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
// tracking | |
$date=date("Y-m-d H:i:s"); | |
$ip =$_SERVER['REMOTE_ADDR']; | |
$db = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR); | |
mysql_select_db($database, $db); | |
mysql_query("INSERT INTO tracking (ip, timestamp) VALUES ('$ip','$date')",$db); | |
*/ | |
header("content-type: image/gif"); | |
die(base64_decode("R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==")); // 43 byte transparent pixel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment