PHP makes REMOTE_ADDR and REMOTE_HOST available for our use, they live<br>within the SERVER arrays. So:<br><br>REMOTE_ADDR - the IP address of the client <br><br>REMOTE_HOST - the host address of the client, if available<br>
Its Good Answer for get a IP Address.
Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.
Copyright ©2003-2010 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/6174/default.asp?cachecommand=bypass