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 |
Can you convert php to html?
When sessions ends?
What is a php web application?
Is php pass by reference or value?
How to connect SMTP server in php. I want to edit that in mantiss bug tracking tool. If anyone worked on mantiss software or in php, please give answer . I need to modify that in mantiss software.
What is full form of php? Who is the father or inventor of php?
Can you explain, when to use if-else if-else over switch statements?
What is difference between static and constant in php?
How do you put a space in html?
How does php server work?
Can we extend multiple classes in php?
How long will it take to learn php?