I understand it janharders,after breaking my head i found something
The IP address between these ranges are private one(browsing ceneters,Organisations etc).
The following ones are Private one.
10.0.0.0 – 10.255.255.255
172.16.0.0 – 172.31.255.255
192.168.0.0 – 192.168.255.255
Except all of the above Public ones.
In PHP we can get the IP address by
echo "IP address".$_SERVER["REMOTE_ADDR"]
echo "LAN Address".$_SERVER["HTTP_X_FORWARDED_FOR"]
This Will Show the Output in the following manner
IP address 22.214.171.124
If the IP address is between the above mentioned Classes it will be Private one otherwise it is Public One.
I didn't know this is reliable one or not.
Can you pls tell me.