what method is used to get a user's IP address?
Answers were Sorted based on User's Feedback
Answer / shivappa
echo $_SERVER['REMOT_ADDR'];
it returns client IP Address
Is This Answer Correct ? | 13 Yes | 3 No |
What is the importance of "action" attribute in a html form?
What is the difference between for and foreach?
How do you put a space in html?
What is overloading in php?
How to genrate report in wordpress cms
Without using forms and hidden variables, how to send variables from a PHP script to another URL using POST method?
How to access a Static Member of a Class in PHP?
How to select a database in php?
Is age nominal or ordinal?
Is php a mvc?
How can we display information of a variable and readable by human with php?
Who created numbers?