PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Archive for the ‘ IP Address ’ Category

Local And Remote IP Address

Sometimes user might be using a shared IP Address for internet then how can we find his real remote IP Address which will be his Server’s IP Address and his own local IP Address or his Machine’s IP Address.

(more…)

Tags:
Posted in: IP Address
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Getting IP Address In PHP

How do I get a user’s (Visitor’s) IP address in PHP?

The users ip address is stored in the environment variable $REMOTE_ADDR, if you want to resolve the domain name for that ip (if any) use:

(more…)

Tags:
Posted in: IP Address
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

    


  Subscribe Via RSS
  Subscribe Via Email