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?

Answer Posted / shivappa

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

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long does a session last in php?

942


What are new features in php 7?

988


What is use of in_array() function in php?

1076


How to create a session? How to set a value in session? How to remove data from a session?

961


Name some of the constants in php and their purpose.

966


Can you pass an array into a function?

1049


What is uniqid php?

1030


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

1839


How we get browser details of clients machine?

1022


What are the advantages of indexes?

898


What is oops php?

941


What is the use of mvc in php?

980


How is it possible to set an infinite execution time for php script?

954


How do http requests work?

945


Explain the difference between $var and $$var?

953