On Thu, 29 Nov 2001, Ken Savage wrote: >-Super new to PHP but I'm putting in the effort to learn quickly. >-How would I output the user's IP address in a php file. >- >-I want the webpage to say... >- >-Your IP address is xx.xx.xx.xx
Try finding it in these variables: $HTTP_SERVER_VARS["REMOTE_ADDR"] or $REMOTE_ADDR John ************************************** John Huggins VANet 7101 Oriole Avenue Springfield, VA 22150 703-912-6453 703-912-4831 fax [EMAIL PROTECTED] http://www.va.net/ ************************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]