Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what method is used to get a user's IP address?

Answers were Sorted based on User's Feedback



what method is used to get a user's IP address?..

Answer / mahidhar

$_SERVER['REMOTE_ADDR']

Is This Answer Correct ?    14 Yes 0 No

what method is used to get a user's IP address?..

Answer / shivappa

echo $_SERVER['REMOT_ADDR'];
it returns client IP Address

Is This Answer Correct ?    13 Yes 3 No

Post New Answer

More PHP Interview Questions

What is cookie in php with example?

0 Answers  


Explain PHP looping?

0 Answers  


How would you impletement download and upload a file in php

2 Answers   A1 Technology,


Draw the architecture of Zend engine?

4 Answers  


How to create database connection and query in php?

0 Answers  


what is PHP accelerator ?

2 Answers  


How many ways can we get the value of current session id?

3 Answers   Infosys, L&T, SysBiz, Torque Infotech,


how to set session expire(session timeout) using php code

2 Answers  


What is the timeout period on session values?

0 Answers  


what are the differents between 'action' and 'target' in form tag?

3 Answers  


Is php used in 2019?

0 Answers  


what is array_search() in php?

2 Answers  


Categories