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

Why do we use inheritance in php?

0 Answers  


i want to store retrieved data from database into an array list with limit.And display the data from that array list.have any answer for this?

2 Answers  


What is the use of strip_tags() method?

0 Answers  


What is array and function?

0 Answers  


What are the different types of Errors in PHP?

20 Answers   Cisco, TCS, Troop Software,


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

0 Answers  


What does the scope of variables means?

0 Answers  


What is the function mysql_pconnect() useful for?

0 Answers  


What is a helper function?

0 Answers  


What is Gd PHP?

0 Answers  


What does the unlink() function mean?

0 Answers  


How to store the uploaded file to the final location?

0 Answers  


Categories