[PHP] Re: PHP implementation of something like Apache's mod_speling?
by Julio Nobrega other posts by this author
Aug 1 2002 2:27AM messages near this date
[PHP] PHP implementation of something like Apache's mod_speling?
|
[PHP] Re: n
How about a file wilh all the directories and you compare its contents
using similar_text() or soundex/metaphone() with the url/directory that
failed?
Shouldn't be too hard to implement.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Tim Luoma" <luomat@[...].org> escreveu na mensagem
news:3D489898.1010204@[...]..
>
> As I assume most of you know, mod_speling (sic) is a feature of the
> Apache httpd that will suggest possible corrections to URLs.
>
> i.e. if you look for /sidebar/ on my site you'll get a 404 because the
> actual URL is /sidebars/
>
> The problem is that some sites don't enable mod_speling and some don't
> use Apache ;-)
>
> Before I reinvent the wheel, I thought I'd ask if anyone had written
> some PHP to cover this... I didn't find anything useful in Google or
> HotScripts
>
> TjL
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Tim Luoma
Julio Nobrega
|