getenv["REMOTE_ADDR"] returns ::ffff:

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
horgh
Forum Newbie
Posts: 23
Joined: Mon Oct 21, 2002 9:50 am
Location: GER
Contact:

getenv["REMOTE_ADDR"] returns ::ffff:

Post by horgh »

does anybody know this "bug" ?! when i try to determine the remote IP i always get that strange return "::ffff: " in front of the IP (e.g. "::ffff: 192.168.1.0")

whats that ?! :(

PHP version is 4.3.1
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Do you get the same with $_SERVER['REMOTE_ADDR']?

Mac
User avatar
horgh
Forum Newbie
Posts: 23
Joined: Mon Oct 21, 2002 9:50 am
Location: GER
Contact:

Post by horgh »

yes, its the same :(
Post Reply