How to get the local ip address using php? : <p>I 'm creating a web app in which i need to save the sessions in the database including the Ip address of the user and the date and time of the session , for that i want to know how to do that ,knowing that the app will be used in LAN .
i 'm using codeIgniter framework.</p>
