RE: [PHP] getting ip address of the user.

2002-09-24 Thread Jesse Cablek
Anil Garg mailto:[EMAIL PROTECTED] scribbled; Can i get the ip-address of the machines who accessed my website?? Plz give the pointer that on what lines shall i start for doing so. print $_SERVER['REMOTE_ADDR']; -jesse -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] getting ip address of the user.

2002-09-24 Thread Bill Farrell
Hi, Y'all, Here's another suggestion FWIW. I prep a few variables in the htmlhead.php routine, $RemoteHost being one of them. Having some simple names for associated values is kinda handy. One of the biggest strengths of PHP is that there's more than one way to go about solving problems. Here

Re: [PHP] getting ip address of the user.

2002-09-24 Thread Bill Farrell
Hi, Tony... Here's a script I pilfered from online a coupla years back and have modified (over and over). The code would be online, except my ISP is having heartburns lately... Bill ?php $MetaTitle = WhoAmI; $MetaDescription = Utility to demonstrate PHP; include( style/htmlhead.php ); $OnLoad

RE: [PHP] getting ip address of the user.

2002-09-24 Thread Mark Charette
This comes up so very often ... The answer is - you may be able to get _an_ IP number for a machine that accesssed your site. It is meaningless as a means of identification: Proxies use 1 IP for a number of users. -Original Message- From: Anil Garg [mailto:[EMAIL PROTECTED]] hi, Can