$filename = '.htpasswd' FILE_APPEND($filename, "pyro.699:password") or die ('could not write to file);