Vorrei aggiungere che ho testato cosi:

$fp = fopen("C:\Documents and Settings\Utente\Desktop\TEST.txt", "w");

Ma invece di creare il file TEST.txt sul desktop, mi ha creato un file in locale (sul server) con nome C:\Documents and Settings\Utente\Desktop\TEST.txt