Forum Moderators: coopster
When I had one IP address, I used the following line of code:
if(GetHostByName($REMOTE_ADDR)!="0.0.0.1"){}else{}
then for two, I used:
if(GetHostByName($REMOTE_ADDR)!=("0.0.0.1"¦¦"0.0.0.2")){}else{}
Now, I'm getting a larger and larger list, and I would also like to place comments about who's IP address each one is.
I was thinking about doing something like:
if(GetHostByName($REMOTE_ADDR)!=$iplist){}else{}
But I don't know how I should define the $iplist variable.
Any suggestions would be greatly appreciated.