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...

Do you know how to get the ip address of the client?

Answer Posted / Prashant Verma

In PHP, you can use the $_SERVER global array to access the REMOTE_ADDR key, which holds the IP address of the client. Example: echo $_SERVER['REMOTE_ADDR'];

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what kind of things have you done on the social side?

1051


Explain me is it possible to destroy a cookie?

1006


How to calculate the difference between two dates using php?

1116


Write a program using while loop?

1096


if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer

1970


What is the current stable version of php?

1097


How to create a web form?

1091


What is difference between static and final in php?

1071


What is the difference between htmlentities() and htmlspecialchars()?

1071


What does $_files means?

1143


Which variable declarations within a class is invalid in php?

1035


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1058


What sized websites have you worked on in the past?

1065


What is the current stable version of php? What advance thing in php7?

1072


List some features of php that are deprecated in php7?

1008