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

310 Like 6 Dislike
Previous php-forum Next php-forum
Other php-forum

PHP form help required
Hi all! Apologies in advance for having to message the forum for help. I know you must get a lot of

limitations on array_unique()
Does any one know what/how imitations are applied to array_unique? I have an issue where no matter h

error reporting
hey everyone

I have a production server in which I want error reporting but only on some page

Function to extract email attachments using PHP IMAP
function extract_attachments($connection, $message_number) {

$attachments = array();

Blogging s/w
heya frndz!!! i want to start a blog.... m looking for a s/w like oscommerce which is thr for e-comm

delete comma
HI,

How to delete "," at the end of the string.
Code: $match = 2009/02/03/a2corr

Multiple WHILE loops help
Hi there. I'm writing an application that is pulling and displaying results for real estate listing

Am I setting up my sites oldschool?
Ok,

When I create a site I open a basic template that I have created that consists of a css f

need help in dynamic select menu in php
hi i have created a dynamic select menu using php. i have a problem in that which is when the user s

PHP switch function help
Hi, I am trying to create a search function for a directory website. On the search function on html

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