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

Answer Posted / mahidhar

$_SERVER['REMOTE_ADDR']

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does php have a future?

505


What are classes in php?

546


List some sorting functions in php?

541


How to pass variables and data from php to javascript?

502


What is the use of the function htmlentities?

617






Explain what are some new features introduced in php7?

482


Is server side a session?

490


How does php and apache work?

526


What are php variables?

510


what is PDO?

795


Explain $_FILES Superglobal Array?

576


How long does a session last in php?

507


Does cors prevent csrf?

522


What is use of isset function in php?

578


How the web server interprets php and interacts with the client?

498