Replace Accents by Normal Unaccented in PHP

Sometimes we need the string to only contain unaccented characters, for example urls, xml, filename etc. Expecially before PHP6, You may think of function setlocale() and iconv(), but they are evil...… Continue reading
Posted in PHP| Tagged , | Leave a comment

Configurations of htaccess for Multi-Sites in Sharehost

It's the htaccess configurations for multiple websites in sharehost. Cause sometimes you may not be able to modify apache vhosts. [codesyntax lang="apache" lines="no"] Options -Indexes -MultiViews +Fo… Continue reading
Posted in Apache| Tagged , | 1 Comment