error with opendir


Posted on 16th Feb 2014 07:03 pm by admin

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

No comments posted yet

Your Answer:

Login to answer
310 Like 6 Dislike
Previous forums Next forums
Other forums

Post, not working, please help
The error is:
Method Not Allowed
The requested method POST is not allowed for the URL /student

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

set xml path in flash when xml created in memorystream and webrequest
i am creating an xml file using memory stream and i want to load this xml file into the flash on cli

PHP form authentication
Hi guys,

what am trying to achieve is this: Whenever a user tries to login to my website, an

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

Getting a variable to work in function params
I have this fuction which is inside a class:

Code: public static function generateEmbedCode($

1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.


In some case, there will be 100+ of the

Help? Need help on project with templates involving mysql and php.
I'm having a hard time explaining what I want but basically here is what I have in place:

-Da

php form help
Hey,

I use a control file to set my meta tags and titles

Here's an example
Code: &a

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash