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

What is the use of trim in php?

988


Why is facebook still using php?

1095


What is the difference between php and core php?

958


Explain what is the difference between $var and $$var?

999


am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.

2074


Can php run without apache?

1020


How to pad an array with the same value multiple times?

931


Explain include(), include_once, require() and require_once?

1028


What is alias in php?

1039


What is env in laravel?

1025


What is the meaning of php?

937


How to enable parsing?

1076


How do I use isdigit function?

1073


Under what circumstance is it impossible to assign a default value to a parameter while declaring a function?

1148


What is the difference between array_pop() and array_push()?

1226