Thanks again Rocjak. Still doesn't work. It still writes lists like:
C:/apache/apache2/htdocs/recorder/uploads/1118620804.ogg
C:/apache/apache2/htdocs/recorder/uploads/1118620805.ogg
rather than:
192.168.0.1/recorder/uploads/111862
...
192.168.0.1/recorder/uploads/111862
...
I tried declaring a variable
$urlPath='$dirPath'; and '$rootPath'
and changing
$fileContents .= $rootPath.$file.$seperator;
to
$fileContents .= $urlPath.$file.$seperator;
but what resulted was a list like this:
1118620804.ogg
1118620805.ogg
Mark.