ulthane — 2012-10-25T15:27:51-04:00 — #1
I'm trying to open a dir from inside a function and i always get this error:
failed to open dir: Resource temporarily unavailable
this is the function, line of error marked in red:
<font color='"#FF0000"'>$fp = opendir($dir);</font>
while ($f = readdir($fp))
$file = $dir . '/' . $f;
if ($f == '.' || $f == '..')
else if (is_dir($file) && !is_link($file))
what does it means and how can i solve that?
siteguru — 2012-10-25T16:02:26-04:00 — #2
What permissions are set on that folder, and for what accounts?
ulthane — 2012-10-27T11:53:31-04:00 — #3
was my fault, seems like my code was trying to recuresivly delete the same folder a couple of times within a small period of time, thats what caused this error.
problem is solved.
Hi siteguru btw, nice to see you