PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
jeetesting
New Member
New Member


Joined: Apr 30, 2008
Posts: 2

PostPosted: Wed Apr 30, 2008 7:20 am Reply with quote Back to top

Need help with PHP script for IP address of sites

Hi All
I need some assistance with getting the IP address of a web site.

Basically I have to write a PHP page where if a site name is supplied it would return back the IP address of the site as well as specify if the IP Address is Dedicated for that site or a Shared IP Address

I have figured out how to get the IP address of a site in PHP however I am not able to figure out how can I find out whether that IP address is static i.e. dedicated IP for the site or a shared IP that the site is using.

Does anyone know how to get around this problem, using PHP how can I figure out if an IP address of the site is a Dedicated IP address for that site or whether that IP is a shared one.

Any help on this matter is appreciated

Cheers
Asif
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2847

PostPosted: Wed Apr 30, 2008 11:07 am Reply with quote Back to top

There is really no way or knowing how many sites are hosted on one IP. You would have to continue matching sites by IP until you get duplicates.

And to be accurate, servers can have more than one IP address. So technically each site could appear as its own IP yet it is still a shared server.

DomainTools probably has the biggest database of IPs and domains.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
jeetesting
New Member
New Member


Joined: Apr 30, 2008
Posts: 2

PostPosted: Thu May 01, 2008 6:10 am Reply with quote Back to top

There is really no way or knowing how many sites are hosted on one IP. You would have to continue matching sites by IP until you get duplicates.

And to be accurate, servers can have more than one IP address. So technically each site could appear as its own IP yet it is still a shared server.

DomainTools probably has the biggest database of IPs and domains.
Only registered users can see links on this board!
Get registered or login to the forums!


===============================================

I have same like this sites. but How to find out using php?

Any other third party tools or API using same output on my sites.

Because I have 1000 of sites, I am not checking one by one sites every two- three month.

I want to php script and get output in one page.
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2847

PostPosted: Thu May 01, 2008 9:32 am Reply with quote Back to top

Then you do like Domaintools and have a big database of IPs and domain names. There isn't any other way to do it
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum