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 constructor be private in php?
Can you convert php to html?
How to make database connection in php?
hi abinashg i think u have experience in php plz tell me more about php now i raearlly want to do php wat is the future.my email id atul_saini2@yahoo.co.in.plz guide me thanks...........
What is the main difference between require() and include()?
How can we get second of the current time using date function?
What is the meaning of die in php?
What types of loops exist in php?
Explain the difference between unlink() and unset()?
How to open a file for reading?
How many types of functions are there in php?
How to access a global variable inside a function?