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 |
Name some of the constants in php and their purpose.
How can I check if a value is already in an array?
3 Answers Rushmore Consultancy,
How to check an key is exists in array?
How to find a length of a string in php?
Explain me what is the goto statement useful for?
Is empty java?
What are the different ways to login to a remote server?
Is empty in excel?
How can we extract string ?allinterview.com ? from a string ?http://info@allinterview.com? using regular expression of PHP?
Is null check in php?
What is a php trait?
How do you create an array in php?