Re: URL parsing

From: Date: Sun, 25 Mar 2001 18:46:34 +0000
Subject: Re: URL parsing
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-45505@lists.php.net to get a copy of this message
In article <B6E3A463.429C%jaxon@salamander.net>, jaxon@salamander.net (Jaxon) wrote: > Any way to combine both forms of url parsing? > I want to use standard slash notation for navigation ,but also account for > the occasional variable used within a single page. > > e.g. URL can be either: > domain.com/index.php/main/index.html?ii=1 > > or: > domain.com/index.php/main/index.html?ii=1 Umm, how are these different? (If you're trying to extract info from a url, perhaps parse_url(),basename(), and/or dirname() are what you're seeking...?) -- CC

« previous php.general (#45505) next »