Use *file_put_contents* instead of *fopen / fwrite / fclose*