Added .htaccess
Removed .htaccess
Changed mysql API to mysqli API

mysql API will be removed in the next few PHP Versions and will be
replaced with mysqli.