0 Replies Last post: Aug 6, 2008 5:07 AM by Bromine  
Bromine Guru 227 posts since
May 11, 2008
Currently Being Moderated

Aug 6, 2008 5:07 AM

Privacy notice

Bromine is created by people that hates spyware and forced registrations and stuff like that. We will never, ever, infringe on your privacy. We will never send you spam or anything like it.

From v.1.9.2 and forward Bromine will register an md5 hash of your ip adress with our server the first time you login. This is completely anonymous and can never be traced back to you. This only enables us to see how many unique users we have. The md5 hash is a one-way function. You can't calculate the IP from the md5 hash. Google this, if you don't believe in me (You shouldn't!)

The file that handle this is login.php and the code is this:

 

$registration = $dbh->select('TRM_config',"WHERE var = 'registration' AND value = '1'",'*');

if (mysql_num_rows($registration) == 0){

      try{

        fopen("http://master.testserver.monten.dk/registration.php", 'r');

        $dbh->insert('TRM_config',"NULL,'registration','1'",'id,var,value');

      }

      catch(Exception $e){}

}

 

master.testserver.monten.dk/registration.php looks like this:

 

<?php

 

$username="xxxx";

$database = "xxxx";

$password="xxxx";

$host = "localhost";

$domain = md5($_SERVER['REMOTE_ADDR']);

 

$db = mysql_connect($host, $username, $password);

mysql_select_db($database, $db);

 

$query = "INSERT INTO registration (id,domain,timestamp) VALUES (NULL,'$domain',NULL)";

$result = mysql_query($query) or die(mysql_error());

 

echo "<b>Registration complete!</b>";

?>

 

If you wish to avoid this you can manually insert 'registration', '1' in the TRM_config table in the database before your first login.

Cheers, Rasmus.

 

More Like This

  • Retrieving data ...