Re[2]: [PHP-WIN] problem to open dir

2004-11-30 Thread re_action
Hello Vincent, It'a bad way to do so, becouse the default sharing (like c$, d$, admins$) could be turned off. This code, should work fine, if the user, under witch php is running have permissions to access target folder: $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2\\"; if (is_dir($dir)

Re[2]: [PHP-WIN] problem to open dir

2004-11-30 Thread re_action
Hello Pravin-Kumar, I hope you've noticed that you use disk "F" in $dest, and the actualy dir seems to be on disk "G". This code, should work fine, i test it on my system: $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2\\"; if (is_dir($dir)) { if ($dh = opendir($dir)) {