Jump to content

getting ip or host name of requesting server.


Liquid Fire

Recommended Posts

here is the deal:

 

I have a web server with a bunch of web services.  I have another server calling these web services.  I need to get the ip of the 2 server(the server calling the web services) within the actual web service method(the files stored on the first server hosting the web services).  i tried $_SERVER['REMOTE_ADDR'] but that give me the ip of the user using the 2nd server, not the ip of the second server.

 

is this possible?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.