note 77225 added to ref.dir

From: Date: Mon, 20 Aug 2007 21:33:37 +0000
Subject: note 77225 added to ref.dir
Groups: php.notes 
Request: Send a blank email to php-notes+get-129653@lists.php.net to get a copy of this message
Samba mounts under a Windows environment are not accessible using the mounted drive letter. For instance, if you have drive X: in Windows mounted to //example.local/shared_dir (where example.local is a *nix box running Samba), the following constructs $dir = "X:\\data\\"; $handle = opendir( $dir ); or $d = dir( $dir ); will return a warning message "failed to open dir: No error" On the other hand, using the underlying mapping info works just fine. For example: $dir = "//example.local/shared_dir/data"; $handle = opendir( $dir ); or $d = dir( $dir ); Both cases do what they're expected to. ---- Server IP: 209.41.74.194 Probable Submitter: 66.108.54.27 ---- Manual Page -- http://www.php.net/manual/en/ref.dir.php Edit -- https://master.php.net/note/edit/77225 Del: integrated -- https://master.php.net/note/delete/77225/integrated Del: useless -- https://master.php.net/note/delete/77225/useless Del: bad code -- https://master.php.net/note/delete/77225/bad+code Del: spam -- https://master.php.net/note/delete/77225/spam Del: non-english -- https://master.php.net/note/delete/77225/non-english Del: in docs -- https://master.php.net/note/delete/77225/in+docs Del: other reasons-- https://master.php.net/note/delete/77225 Reject -- https://master.php.net/note/reject/77225 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129653) next »