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!!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to