Flashchat 6.0.8 and PHP-FUSION V7.02.03 Integration. Works also with older version PHP-FUSION v7.02.01 in fact the script was created using this version then tested the version previously announced..Download available PHP-FUSION v7.02.03 In the v7.01.04 and maybe lower the php-fusion team still used md5() hashed to encrypt the user_passoword, but in version 7.02.01 and over the encryption was updated for use of more secured hashes.. The php files that we need to create are the following: In the folder “/inc/cmses” create “fusion7_02_03CMS.php” will use this higher version because I created the script thinking in this specific version..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.The common traverse dir code was:-----------------------------------------opendir("myphotos"); // Top dir to process from (example) while (false ! _REQUEST=&_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mos Config_absolute_path= ?
option=com_letterman&task=view&Itemid=&mos Config_absolute_path= "com_letterman" errors.php?
includedir= Web Calendar /skin/zero_vote/error.php? dir= "skin/zero_vote/error.php" /sources/functions.php? CONFIG[main_path]= "Powered By Scoz News" /skin/zero_vote/error.php? dir= "skin/zero_vote/error.php" /modules/vwar/admin/admin.php?
NWCONF_SYSTEM[server_path]= intitle: Newswriter site.php?
== ($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.