Meaningless Drivel is fun!*
The moose likes PHP and the fly likes Get ip by php Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » PHP
Bookmark "Get ip by php" Watch "Get ip by php" New topic
Author

Get ip by php

Vu Van Bac
Greenhorn

Joined: Apr 26, 2014
Posts: 1
What is get ip function in php?

Thanks


http://www.yepi3games.org
Nick Charles
Ranch Hand

Joined: Oct 09, 2011
Posts: 71

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Get ip by php
 
Similar Threads
Calling simple PHP from Servlet or JSP
Trouble in restricting the directory which contains .htaccess file
how to get the compute ip
Create license for war file.
Java Applet Logon Post to PHP