programming faqs interview questions tech technical educational freshers guide preparation interviews hr telephonic
try another color:
try another fontsize: 60% 70% 80% 90%
Programming FAQs

How can i get the ip address with php

using $_SERVER super global

using $_SERVER super global array or using getenv() function

echo $_SERVER['SERVER_ADDR'];

or

echo getenv("REMOTE_ADDR")