Jump to content

Determine IP Address of Given URL


johnathanamber

Recommended Posts

Hello everyone!

 

I was wanting to know if there is some code that can be used to determine the IP address of a given URL.

 

I've only found things that would give me the IP of a visitor to a site or of the current URL, but not for a remote URL.

 

I will be building a small input page with one input field to display the IP address of any URL given... if the user wanted the IP of google.com, then they would get: 74.125.95.99.

 

Thank you very much and God bless,

Johnathan

Link to comment
https://forums.phpfreaks.com/topic/204117-determine-ip-address-of-given-url/
Share on other sites

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.