== ($fname = readdir($h_dir))) PROBLEM IS : The "is_dir()" must have the FULL PATH or it will skip some dirs. $fname)) call_own_subdir_process; // skip subdirs The pitfall really was, that without full path some subdirs were found..this clears all up Prints out:bool(true)(Windows Note: Under recent versions of Windows you can set symlinks as long as you're administrator, but you cannot remove directory symlinks with "unlink()", you will have to use "rmdir testlink" from the shell to get rid of it.) Note that there quite a few articles on the net that imply that commands like is_dir, opendir, readdir cannot read paths with spaces. Sample test code; $dir = "Images/Soma ALbum Name with spaces"; echo $dir."";// Open a directory, and read its contentsif (is_dir($dir))NOTE: you should obviously be checking beforehand if $dir is actually a directory, and that it is readable, as only relying on this you would assume that in both cases you have a non-empty readable directory.So the above code need to INSERT THE PATH before the filename. Running PHP 5.2.0 on Apache Windows, I had a problem (likely the same one as described by others) where is_dir returned a False for directories with certain permissions even though they were accessible.PITFALL in sub dir processing After struggeling with a sub-dir processing (some subdirs were skipped) AND reading the posts, I realized that virutally no-one clearly told what were wrong.
Looking for a dating agency, dating service or UK personals in England or Great Britain?If the dating site you use is not listed under "Website involved" then it is not an ODA member so please do not attempt to register a complaint as it will not be dealt with.We're keen to assist with any questions you might have Malware removal experts help you to clean any malware infections Lost all your files to some nasty ransomware?i Singles is one of the largest online dating sites out there.Every journey begins with one small step - complete the short signup form, and instantly become a member.