Re: Re: Accessing SMB (Samba perhaps) resources
| From: | Howard Miller | Date: | Wed, 25 Feb 2004 09:10:22 +0000 |
| Subject: | Re: Re: Accessing SMB (Samba perhaps) resources | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178817@lists.php.net to get a copy of this message | ||
No I didn't say that I *wouldn't* run external commands. However I want the
operation to be transparent and non-confusing to the user, so they don't
get get with error messages from the Unix mount command or something. I
just expected a lot of grief/drama doing it that way.
I'll give the class a go and see how I get on.
Manuel Lemos wrote:
> Hello,
>
> On 02/24/2004 04:03 PM, Adam Voigt wrote:
>> He said he doesn't want to run commands, which this script does.
>
> Did he? I read his message again and I could not see where he explicitly
> says he does not want to run commands.
>
> What this class does is to let you access networked remote shares via
> Samba without having to mount them on the local file system.
>
>
>>>>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.
>>>
>>>You may want to try this Samba Web client class that does precisely what
>>>you want:
>>>
>>>http://www.phpclasses.org/smbwebclient
>
>