Hey guys,
I am working with this pixel tracker, i am trying to pass email variables into the url, everything gets recorded, but the email variables arent being passed or written whats wrong?
should work like this http://domain.com/[email protected]
if (isset($_GET['e'])) {
$e = $_GET['e'];}
echo $e;
//$url = parse_url ($_SERVER['HTTP_REFERER']);
$query = "INSERT INTO hitlog(hostname, ip, os, browser, city, referer, email, date) VALUES ('".
$hostname . "', '".
$_SERVER['REMOTE_ADDR'] . "', '".
$os . "', '".
$browser. "', '".
whois_info( ) . "', '".
$_SERVER['HTTP_REFERER']. "', ".
//$_GET['email']. "', ".
$e . "', '".
" now() )";
$result = mysqli_query($name1,$query);
include 'closedb.php';
// End DB code
How can i properly insert the e or email variable into it?
I am working with this pixel tracker, i am trying to pass email variables into the url, everything gets recorded, but the email variables arent being passed or written whats wrong?
should work like this http://domain.com/[email protected]
if (isset($_GET['e'])) {
$e = $_GET['e'];}
echo $e;
//$url = parse_url ($_SERVER['HTTP_REFERER']);
$query = "INSERT INTO hitlog(hostname, ip, os, browser, city, referer, email, date) VALUES ('".
$hostname . "', '".
$_SERVER['REMOTE_ADDR'] . "', '".
$os . "', '".
$browser. "', '".
whois_info( ) . "', '".
$_SERVER['HTTP_REFERER']. "', ".
//$_GET['email']. "', ".
$e . "', '".
" now() )";
$result = mysqli_query($name1,$query);
include 'closedb.php';
// End DB code
How can i properly insert the e or email variable into it?