Sample of PHP-FTP to check all my network and get IP's

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
RIGOLETO
Forum Commoner
Posts: 37
Joined: Fri Nov 20, 2009 10:13 am

Sample of PHP-FTP to check all my network and get IP's

Post by RIGOLETO »

HI there,

I need a sample of code to go through my network and get all the IP and show them in a BROWSER, just I have been cheking in Google and Yahoo, but there are not somethig or a site that can give me some sample.

Rigo
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Sample of PHP-FTP to check all my network and get IP's

Post by VladSun »

What do you mean by "my network"? Public or private IP addresses? Is it DHCP IP address assigning? What/where is the router(gateway) - do you have access to it?

http://fping.sourceforge.net/
There are 10 types of people in this world, those who understand binary and those who don't
RIGOLETO
Forum Commoner
Posts: 37
Joined: Fri Nov 20, 2009 10:13 am

Re: Sample of PHP-FTP to check all my network and get IP's

Post by RIGOLETO »

Hey man,

it is a private network, I need to go through and get all IP's and show them in a browser, using PHP
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Sample of PHP-FTP to check all my network and get IP's

Post by VladSun »

You may proceed answering the rest of my questions :)
There are 10 types of people in this world, those who understand binary and those who don't
RIGOLETO
Forum Commoner
Posts: 37
Joined: Fri Nov 20, 2009 10:13 am

Re: Sample of PHP-FTP to check all my network and get IP's

Post by RIGOLETO »

My network is not a Dynamic DHCP. also I have access to my Router, using FTP
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Sample of PHP-FTP to check all my network and get IP's

Post by VladSun »

If the IP addresses are statically assigned, you could take a list of them and check which are alive and which are not.
There are 10 types of people in this world, those who understand binary and those who don't
RIGOLETO
Forum Commoner
Posts: 37
Joined: Fri Nov 20, 2009 10:13 am

Re: Sample of PHP-FTP to check all my network and get IP's

Post by RIGOLETO »

well, in theory I should use FTP to get them, right?
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Sample of PHP-FTP to check all my network and get IP's

Post by VladSun »

???
What does FTP has to do with IP scanning?
What OS is on your web server?
There are 10 types of people in this world, those who understand binary and those who don't
Post Reply