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 to create a text file in PHP?
What is the functionality of md5 function in php?
Which is the best method to fetch the data from mysql? 1.mysql_fetch_array() 2.mysql_fetch_object() 3.mysql_fetch_row() 4.mysql_fetch_assoc()
How to check an element is exists in array or not in php?
Explain me is it possible to destroy a cookie?
What is smarty?
What is the content of /etc directory?
What are the advantages of php mysql?
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?
Is php used anymore?
How to pass an argument to a function?
Explain about PHP cookies?