Usa fopen() per aprire il file e poi usa fwrite per scrivere nel file, ed in fine chiudi il file con fclose
fopen = http://it.php.net/manual/en/function.fopen.php
fwrite = http://it.php.net/manual/en/function.fwrite.php
fclose = http://it.php.net/manual/en/function.fclose.php

Rispondi quotando