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

Using insert variable
need a way to inert variable data to mysql database

$acc = "212121212";
$nok =

Echo-ing MySQL content and Keep Formatting?
I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i ech

How do I replace any number of character occurences with one occurrence?
How do I replace any number of character occurences with one occurrence?

Let's say I have:

mysql UNION | warning mysql_fetch_array !!
Code: <?php
$i = 0;
$query1="SELECT * FROM `products` WHERE `div

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

How to restrict the display of report variants
Hello All,

I want t know how to restrict the display of report variants.
I mean, whe

mysql UPDATE request not working and driving me crazy!!!
Hi,

I have been stuck on this for ages.

Quite simply I am trying to update my database

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

$GPRMC and NMEA how to extract from report
Hi There,

Im a little bi lost and not sure where to start with this one, ive got a small gps

Does deleting the spmlog directory critical?
Hi Everyone,

Please, hope you could help me. We're having problems with the SAP backup. I

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