http://mamakspot.my

Mamak Spot now moved to http://mamakspot.my . Meet you there.

MamakSpot 3 Prepaid Edition Development Progress

New Project unleashed !!!
Build You Own SMS System at home
http://cakesms.blogspot.com

Introduction to MamakSpot



Watch the demo video here

What is MamakSpot ?
A wifi controller. You can control your wifi users using a web based management system.

Features ? You can control the users by
1.by maximum usage hours
2.by expire date
3.by upload/download speed in kbps

How many versions of MamakSpot ?
1. MamakSpot Prepaid Edition
2. MamakSpot Manage Edition

MamakSpot Prepaid Edition ?
MamakSpot prepaid is targeted to people who wants to run prepaid business using Wifi. Admin can create X numbers of prepaid and registered or public users can buy the prepaid for their internet usage.

Mamakspot Manage Edition ?
This is fork from version 1 of MamakSpot. User must be registered first. Admin the, can select which user have the rights to surf the net. Admin simply enable particular user with some credentials like
1. upload/bandwith speed
2. Expiry date
Admin can check every connected user internet history like :
1. When he/she online
2. Number of hours online by day,month,year
3. Total bandwidth downloaded/uploaded
4. Sites visited
Who are the developer for MamakSpot ?
Currently, I'm the only one doing the RnD. From understanding how Radius server works to Web Management Interface. I can be contacted at 014.6412.911 ( Malaysia ) or by email at azril.nazli@gmail.com


Mamakspot V1 is free ( http://code.google.com/p/mamakspot/ )

Monday, April 28, 2008

IP 2 Location using Google Map


PHP Code to retrieve the Longitude and Latitude for given IP Address


IP 2 Loc hosted at http://ad.protonmania.com

After saw the Ajax Powered IP to Location finder by Seomoz , I've decided to dig the net on how to do that using CakePHP .

Basically , I'll get the IP given by the user via $_POST or $_GET, filter it and try to get the longitude and latitude value from 3rd party site, in this case I'm using http://netgeo.caida.org/

Example http://netgeo.caida.org/perl/netgeo.cgi?target=202.188.1.5
Then filter the result, do some PHP coding and only get the Latitude and Longitude.

Pass that value to Google Map engine, and voila.

Reference URL
CakePHP = http://cakephp.org
Google Map Account = http://code.google.com/apis/maps/signup.html
CakePHP - Google Map Tutorial = http://bakery.cakephp.org/articles/view/adding-a-google-map-to-your-app

Example : http://ad.protonmania.com/ip2loc

3 comments:

sayang~ashuumm said...

Salam saudara;

saya cuba nak improvise ip 2 location using google map ni..
Tapi saya rasa mcm tak berjaya pulak..
Saya guna url ni: http://netgeo.caida.org/perl/netgeo.cgi?target=10.1.9.227

ip address saya: 10.1.9.227.

Tp biler saya press enter, saya dpt response ini:

VERSION=1.0

TARGET: 10.1.9.227
NAME: RESERVED-10
NUMBER: 10.0.0.0 - 10.255.255.255
CITY: MARINA DEL REY
STATE: CALIFORNIA
COUNTRY: US
LAT: 33.98
LONG: -118.45
LAT_LONG_GRAN: City
LAST_UPDATED: 16-May-2001
NIC: ARIN
LOOKUP_TYPE: Block Allocation
RATING:
DOMAIN_GUESS: iana.org
STATUS: OK

Sedangkan saya kat Malaysia..
Mcmana saya nak buat supaya dia boleh detect Latitude dan Longitude yg betul?

Terima Kasih saudara.

Mankuk Hayun said...

Netgeo punya database dah expired. Kalau nak dapat IP malaysia, cuba guna Yahoo API atau kena laa beli dari ip2location nyer database.

Lagipun ISP kita masih belum implement long/latt valiue dalam return query

Mankuk Hayun said...

cuba yg nih, example yahoo api

http://lerdorf.com/php/ymap/geo1.php?location=202.188.1.5

Post a Comment