I wrote a simple backup script which puts all files in his folder (and all of the sub-folders) in one TAR archive...(It's classic TAR format not USTAR, so filename and path to it can't be longer then 99 chars)<?php/*********************************************************** * Title: Classic-TAR based backup script v0.0.1-dev **********************************************************/

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: