Very cool and useful tutorial! Nice work Jaan. This would be handy in many situations. If you wanted to restrict ads by location or allow (or block) a country, etc.
+rep!
Thread: IP Location with PHP |
Last edited by Jaan; 06-08-2010 at 09:28 AM.
█ Trill Hosting - Cheap SSL, Cheap Web Hosting, Register Cheap Domains, Cheap Blog Hosting
█ www.trillhosting.com | support@trillhosting.com
█ Hosting Plans | Write To Us | Support | Client Area | About Us
Webmaster Forum | Marketing | Search Engine Optimization | Marketplace | CodeCall Blog | Learn How To Make Money Online
Very cool and useful tutorial! Nice work Jaan. This would be handy in many situations. If you wanted to restrict ads by location or allow (or block) a country, etc.
+rep!
yup yup mate.. I'm using this kind of technique in AdStar also.. but little bit.. well much complicated scriptbut yes it's useful.. then you know who visits your site.. and things
thanks mate![]()
█ Trill Hosting - Cheap SSL, Cheap Web Hosting, Register Cheap Domains, Cheap Blog Hosting
█ www.trillhosting.com | support@trillhosting.com
█ Hosting Plans | Write To Us | Support | Client Area | About Us
Webmaster Forum | Marketing | Search Engine Optimization | Marketplace | CodeCall Blog | Learn How To Make Money Online
Yes I could see this being helpful with stats and ad management.
What kind of program are you making?
Cool! +rep![]()
CodeCall Blog | CodeCall Wiki
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog
Oh thanks mate![]()
█ Trill Hosting - Cheap SSL, Cheap Web Hosting, Register Cheap Domains, Cheap Blog Hosting
█ www.trillhosting.com | support@trillhosting.com
█ Hosting Plans | Write To Us | Support | Client Area | About Us
Webmaster Forum | Marketing | Search Engine Optimization | Marketplace | CodeCall Blog | Learn How To Make Money Online
Very cool!This is great, I can use this in my project and avoid having to store the countries in my database.
+rep for you!![]()
"Whenever you remember, I'll be there/
Remember how we reached that dream together" - Carrie Underwood
Hello,
$select_db = mysql_select_db("ip", $con); ///////// import.php
$select_db = mysql_select_db("iploc"); ///// checkip.php
i just going to learn this script from your tutorial but i saw this ambiguous lines.
Is this a writing mistake or it meanings something else cause two different db. Anyway excuse me if i am wrong.
oh one thing why you use backtick operator in mysql query.
thank you.
Oh yes.. There was a mistake.. "iploc" is a database that is in my localhost.. I tested this script there.. and I forgot it there.. thanks for noticing![]()
█ Trill Hosting - Cheap SSL, Cheap Web Hosting, Register Cheap Domains, Cheap Blog Hosting
█ www.trillhosting.com | support@trillhosting.com
█ Hosting Plans | Write To Us | Support | Client Area | About Us
Webmaster Forum | Marketing | Search Engine Optimization | Marketplace | CodeCall Blog | Learn How To Make Money Online
There are currently 1 users browsing this thread. (0 members and 1 guests)