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" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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