in reply to Re: Re: Converting relative URLs to absolute URLs
in thread Converting relative URLs to absolute URLs
use URI::URL; print url("foo/test.html")->abs("http://www.sun.com/"),"\n"; print url("/foo/test.html")->abs("http://www.sun.com/"),"\n"; print url("foo/test.html")->abs("http://www.sun.com"),"\n"; print url("http://www.sun.com/foo/test.html")->abs("http://www.sun.com +/"),"\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Converting relative URLs to absolute URLs
by mkurtis (Scribe) on Mar 05, 2004 at 04:12 UTC | |
by esskar (Deacon) on Mar 05, 2004 at 20:37 UTC | |
by mkurtis (Scribe) on Mar 06, 2004 at 02:32 UTC |