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

How do you execute a php script from the command line?

524


What is nan value?

508


What is the Pipe Symbol represented?

624


Is php an object or array?

515


What is the difference between md5(), crc32() and sha1() crypto on php?

613






What is the importance of "method" attribute in a html form?

545


Does php class need constructor?

481


Tell me what's the difference between include and require?

548


What type of headers that PHP supports?

615


What is static variable in php?

606


What is nginx and what is it used for?

512


what does this symbol mean in php?

605


What is curl php?

529


What are global variables in php?

500


Why ide is recommended for use while programming with php?

505