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
How long does a session last in php?
What are new features in php 7?
What is use of in_array() function in php?
How to create a session? How to set a value in session? How to remove data from a session?
Name some of the constants in php and their purpose.
Can you pass an array into a function?
What is uniqid php?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
How we get browser details of clients machine?
What are the advantages of indexes?
What is oops php?
What is the use of mvc in php?
How is it possible to set an infinite execution time for php script?
How do http requests work?
Explain the difference between $var and $$var?