On Thu, Jun 19, 2008 at 1:28 AM, Bob <phpnews@xxxxxxxxxxxxx> wrote: > Have you tried CodeIgniter http://www.codeigniter.com? > > Not as restrictive as many MVC frameworks and very easy to work with. > > What you wish to achieve can be done with one line. > > $myvar = $this->uri->segment(2); right, and if you look at the implementation there, you can see usage of mod_rewrite and the $_SERVER array. what i was trying to convey is that OP will need some way to access the url that has been requested by the client. the $_SERVER array is the only way i know of; if there are other ways im always up for learning something new. -nathan