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))) {
Did you know?Explore Trending and Topic pages for more stories like this.
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

Month String to Numeric?
Hi guys,

Given a month as a string, is there a simple way to find the numeric representation

Mail Script Problems
I have created a PHP mail script. I am having a problem though. In $body i am trying to put two va

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

Inserting into MySQL Newbie
Hi ive got a slight problem where ive made a simple web form where the customer inserts the ammount

how can i display php source code snippets ?
I am outputting some pho code .. and I want to display the source code so people can copy and paste

convert pps to wsf with php'how?
hi
i want to convert with php
PowerPoint file to swf file(flash)
how please?
thank!!!

some questions
Hello,

I am looking for the answers for following questions:

1) Does PHP support overl

A problem with my GD class
Hello,

I created a nice (and simple for now) GD class.
The problem is , it works great on

Blocking video streaming
Hello everyone,

I post a message here because i didn't find any solution yet.
I just finis

php multiple action on submit
I have a form which says:

<form enctype='multipart/form-data' method='post' action='pr

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