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 |
How long should a session last?
is that "enumerated array" equal to "numeric array"?
how to include a datepicker in a form using php and mysql
how set session expire time in php?
What's the best method for sanitizing user input with php?
How is it possible to cast types in php?
Is php open source?
display selected value in dropdown list through javascript without page refresh
What is the current php version?
What does the scope of variables means?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
How can I get the only name of the current executing file?