PHP Code:
$filename = "output.txt";
$handle = fopen($filename, 'a+');
fputs($handle, $text_to_be_written);
fclose($handle);
Make sure the file has writeable attributes....
If you want a new line after each item included
PHP Code:
$text_to_be_written."/n"=$text_to_be_written
Glad to help ya out but, it's about 3am now...
I have about 13 beers tonight and I have class in the morning...
Hope I've been of some assitance...
[edit]
err... I missed the other computer part...
Umm.. You could map a drive or alias to the other drive to the other computer to write to....
I have no clue if my last comment makes sense now. I'll figure it out during REM sleep.....
[/edit]