Re: caching program
| From: | Ryan Gibson | Date: | Fri, 12 Sep 2003 15:28:37 +0000 |
| Subject: | Re: caching program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162423@lists.php.net to get a copy of this message | ||
On 17/9/03 12:18 pm, "Andrea Tricco" <atricco@libero.it> wrote:
> Thus, the equivocal paths are the problem, for example:
>
> www.php.net/manual/it/index.php
>
> www.php.net/manual/it/
>
For the above examples the url is the string up to the last '/' char (as
long as the string after the '/' char has an extension ie a dot and three or
chars)
> www.php.net/manual/it
>
This is a bit more tricky, you could just grab the url with and without the
'/' char and compare the two strings (messy I know) and probably won't work
every time, but what does!
Ryan Gibson
-----------
ryan_gibson@jmp-partnerhip.co.uk