Re: [PHP] Accessing SMB (Samba perhaps) resources

2004-02-24 Thread Adam Voigt
Yes, you would infact have to issue an outside command, and to do so, you are correct in the fact you would have to write a good amount of code to check the validity of the string being executed. However, unless you actually install PHP on the samba server, and run it off that, there's not really a

Re: [PHP] Accessing SMB (Samba perhaps) resources

2004-02-24 Thread Howard Miller
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 s

Re: [PHP] Accessing SMB (Samba perhaps) resources

2004-02-24 Thread Adam Voigt
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 serve