Some minor PHP notice fixes

added gitignore and htaccess