Jump to content

error with opendir


yolop

Recommended Posts

when i do this

 

  if ($handle = opendir($dir)) {

  while (false !== ($file = readdir($handle))) {

  if ($file != "." && $file != "..") {

  $files[$mone]=$file;

  $mone++;

  }

  }

  closedir($handle);

  } 

 

 

i got

 

pendir() [function.opendir]: Unable to access

 

[function.opendir]: failed to open dir: Permission denied in

 

why? i have chmod of 777 of all the files and folder in this folder

help please

thank

 

Link to comment
https://forums.phpfreaks.com/topic/185444-error-with-opendir/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.