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 |
Php being an open source is there any support available to it?
What is the purpose of constant() function?
how to set session expire(session timeout) using php code
How to block direct directory access in PHP?
What software is required to run php?
What is the difference between indexed and associative array?
How to set session.gc_maxlifetime properly?
what is interface in php? how it is use?
10 Answers Infosys, PHP, Times, Torque Infotech, Wipro,
What is a variable cost example?
Can you specify the "new line" character in single-quoted strings?
How to set session.gc_divisor properly?
How can you get web browser’s details using PHP?