Answer Posted / shivappa
echo $_SERVER['REMOT_ADDR'];
it returns client IP Address
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What are interfaces in php?
Is null function in php?
How do you execute a php script from the command line?
What are the data types in php?
How to create and destroy cookies in php?
What are the common uses of php?
What is a stored procedure in mysql?
What is a static variable in php?
What's the best method for sanitizing user input with php?
What is php and why we use it?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
Which operator is used to concatenate two strings in PHP?
What is the use of anonymous function in php?
What is the difference between a session and cookies?
How to register a variable in PHP session?