aha, the error makes more sense now :) Thanks, I'll look into it.
Edit:
Thanks, everything seems to be working now - except, I can create new files, but I am having trouble writing content to them.
for example...
$handle = fopen($fileName, 'w'); // I tried 'a' and '+x' too.
if...