PHP makes REMOTE_ADDR and REMOTE_HOST available for our use, they livewithin the SERVER arrays. So:REMOTE_ADDR - the IP address of the client REMOTE_HOST - the host address of the client, if available
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-2009 CoolInterview.com, All Rights Reserved. Privacy Policy | Terms and Conditions Page URL: http://www.coolinterview.com/interview/6174/default.asp?cachecommand=bypass