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 many records can be stored in mysql table?
What is good average session duration?
How to get the directory name out of a file path name?
What is the use of nl2br() in php?
What is the use session in php?
What is the php function that removes the last element of the array and returns it?
How to get the number of characters in a string?
What is variable declaration?
What is ci framework in php?
Explain mysql_errno()?
How do you check is php not empty?
What is the difference between apache vs niginx?
What is the difference between javascript and php?
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
What is the use of "enctype" attribute in a html form?