I'm having some problems...i use $news_country_file = @fopen("db.dat" , "w+") to open up a file to write to....if i dont have .htaccess in the directory i am creating this file (or a parent dir) it works just fine..but as soon as i add .htaccess, it does not work...instead of creating the file with information inside it, it creates it with a 0 length. any ideas why it is doing that?