I'm trying to use the fwrite command to write a new text doc to my local c: drive -
$filename = 'c:\xxx.txt';
$handle = fopen($filename, 'a');
fwrite($handle, $info);
this seems to be the obvious way to do this, but it's not working - furthermore, I've heard mixed reports about whether it's even POSSIBLE to write a new txt doc to your local machine.
Can anyone help? i'm not sure if i'm unaware of how to do this correctly, or if I'm just barking up the wrong tree.