Re: Accessing SMB (Samba perhaps) resources

From: Date: Tue, 24 Feb 2004 15:54:55 +0000
Subject: Re: Accessing SMB (Samba perhaps) resources
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-178714@lists.php.net to get a copy of this message
Well, mainly because PHP doesn't (I think) have a mount function. It would mean executing an external command. I always regard that as living a bit dangerously - it can be difficult to write robust code that will recover from a problem that way. Adam Voigt wrote: > Why can't you just mount the share on-the-fly when they enter the > username and pass? > > > On Tue, 2004-02-24 at 06:11, Howard Miller wrote: >> Hi, >> >> I want to be able to manipulate files that are on my samba file server >> from my PHP application. These shares are not normally mounted on my web >> server and it would be inconvenient and yet another administative >> maintenance task to do so. >> >> So... I want to be able to present a form to the user where they can type >> a URL (eg, //my.sambaserver/myshare/some/directory), a username and a >> password and for PHP to be able to manipulate the files therein. >> >> Maybe this is easy, but I can't see how to do it!! Any help appreciated. >> >> Thanks!!

« previous php.general (#178714) next »