I get these errors:
Warning: fopen(tmp/::name.hsh) [function.fopen]: failed to open stream: Invalid argument in ...
Warning: fwrite() expects parameter 1 to be resource, boolean given in...
Warning: fclose() expects parameter 1 to be resource, boolean given in ...
Can anyone advise me what is the problem? Tough is a permission problem but permissions look fine
The code that generates the error is:
if (!file_exists($File)) {
$Handle = fopen($FileHash, 'w');
fwrite ($Handle, $audio_hash.$LINE_BRK);
fwrite ($Handle, $playlist.$LINE_BRK);
fclose ($Handle);
$Handle = fopen($File, 'w');