Re: PHP & URL Question - omitting index.php
| From: | Alex Black | Date: | Mon, 21 May 2001 23:02:10 +0000 |
| Subject: | Re: PHP & URL Question - omitting index.php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53791@lists.php.net to get a copy of this message | ||
> http://www.blahbalh.com/directory/?arg1=arg1&arg2=arg2
>
> In this case the "directory" would have an index.php file that would react
> based on the query string, but as you can see I'm not including the
> index.php in the link.
>
> Is this o.k. or will some browsers get confused?
I've never seen a problem with this: /?stuff=foo
I like:
/foo.php?stuff
or better, if I'm willing to put in the time to do the apache config:
/foo?stuff
which I particularly like.
have a look at http://www.arsdigita.com/doc/abstract-url
_alex