in reply to Getting an IP out of a string
That will also select a hostname if the URL is something like "http://foo.bar.com/foo".$host = m#http://([^/]+)*#;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Getting an IP out of a string
by the_slycer (Chaplain) on Aug 16, 2000 at 21:34 UTC | |
by knight (Friar) on Aug 17, 2000 at 00:15 UTC | |
by the_slycer (Chaplain) on Aug 17, 2000 at 19:33 UTC |