Page 1 of 1

Show Invalid IP

Posted: Tue Jun 09, 2009 8:57 am
by hamedx
hi guys , sorry for interupt :roll: ..

is there a way to show Invalid IP with PHP?

Re: Show Invalid IP

Posted: Tue Jun 09, 2009 8:59 am
by jayshields
You mean you want a regular expression to check if a given IP is valid or not? Just search Google for "IP address regular expression".

Re: Show Invalid IP

Posted: Tue Jun 09, 2009 9:06 am
by mikemike

Re: Show Invalid IP

Posted: Wed Jun 10, 2009 3:28 am
by hamedx
thanks for reply ,this is what i want >> i am adsl user and i have an invalid ip "192.168.1.1" for example ...
is there a way to show this ip address from web ?

Re: Show Invalid IP

Posted: Wed Jun 10, 2009 7:30 am
by Mark Baker
Executing an OS nslookup ?? or pinging the address ??

Re: Show Invalid IP

Posted: Wed Jun 10, 2009 8:08 am
by mikemike
192.168.1.1 is not an invalid IP...

Re: Show Invalid IP

Posted: Wed Jun 10, 2009 9:34 am
by omniuni
I think what you're looking for is the LOCAL IP. That is to say, the IP that you are assigned on your local network. I brief Google does not turn anything up. If you find what you are looking for, please, let us know!