How to get client ip address


#1

hello friends , i want to get client ip address , what is the best way in owncloud? i check IRequest , where i have to check for this request?


#2

have you tried looking in /var/log/apache2/access.log


#3

You could check $_SERVER