On 17/9/03 12:18 pm, "Andrea Tricco" <[EMAIL PROTECTED]> 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
-----------
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to