[METHOD] Blackhat Codebreaker GeoIP modification

3. Now we need to get the data into the table. Just use PHPMyAdmin and "Import" the CSV file you downloaded in Step 1.
so are you just importing the csv file to phpadmin? It times out when i do that

thx
 
Thanks Gandalf, but do you have a guide to set up BHCB on Wordpress?
 
At step 3. I get the following error:

Invalid field count in CSV input on line 1.

Please help me, how to fix this. Thank you.

FIXED!

If anyone have the same problem, do this:

Code:
http://i49.tinypic.com/33zbn05.png

You need to change "Fields terminated by" value from ; to ,


Edit: I installed it, but I don't see the links on the "lock page";
When I enter:
Code:
www.mysiteurl.com/links.txt
It's blank.

I created the .htaccess

:(
 
Last edited:
Parse error: syntax error, unexpected T_STRING in /home/boo/public_html/ca2/geoip.php on line 16

not a free host, i made no error in copying the code....the login info for sql is correct.
why do i still get this error :\
 
Can you please help me out? Ive gotten everything setup but when i go to my website, the content blocker has no links on it. Also, when i go to http://www.mydomain.com/links.txt i get an error saying

Parse error: syntax error, unexpected T_STRING in /home/account/public_html/website/geoip.php on line 16

Please Help will be much appreciated

thx

I've fixed it by changing the query line to this:

Code:
$query = "SELECT country_code, country_name FROM geoip.country WHERE end_ipn >= INET_ATON('$addr') ORDER BY end_ipn";

I'm impressed I've figured it out since I'm not a programmer... :)
 
Last edited:
Nice! Great share, I was looking for something of the sort.
 
Back
Top