> Hi,
>
> I thought a bit about how to treat the variables passed in search engine
> friendly urls.
>
> The CGI class does it like this:
>
> scriptname/moo.boo/foo.bar
>
> (= scriptname?moo=boo&foo=bar)
Ohh, I like that too.
Very nice.
> I like that, and I'm going to modify the request class to parse the request
> uri for such param/value pairs.
Cool...
what do people think of standardizing on that? I need to do a bit of testing
with apache to see how forgiving it will be with urls... we might need to
set up a .htaccess with a default install (and provide virtualhost defs for
those that don't like .htaccess)
> My intention is to parse the url and provide the var/value pairs in
> HTTP_GET_VARS. So you can use the common GetVar() method to access them. The
> CGI class makes them available as class properies what I dislike. In the
> very nature this are GET vars and they should be provided as GET.
yes, better to take the good stuff and leave the bad stuff :)
_a
|