Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get ip by php

 
Vu Van Bac
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is get ip function in php?

Thanks
 
Nick Charles
Ranch Hand
Posts: 71
Linux PHP Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vu, welcome to Java Ranch!

I assume you want to find out the IP address of the client, that is:



You can see all the values provided by $_SERVER in the docs: http://www.php.net/manual/en/reserved.variables.server.php
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic