You're going to want to mount the directory at the command line, something like

smbmount //server/share /localdir -o username=user,password=pass,uid=500,gid=500

Also be sure that /localdir is readable by the www-user account.

John

On 10/10/07, Alexis <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know this may not be relevant to this list but I tried the General
> list and got no reply.
>
> I have a script located on an Ubuntu box and I am trying to read
> files located on a Win 2003 Server.
>
> I have 'mounted', if that's the right term to use, a connection from
> Ubuntu to Server 2003 and can read the files fine via the desktop, etc.
>
> If the Win Server name is say 'WinServer' and the shared directory I
> want to read from on it is called say 'SharedDirectory' and the user
> name is 'User', I notice the reference to that folder on the Ubuntu
> desktop is as follows:
>
> smb://[EMAIL PROTECTED]/SharedDirectory
>
>
>
> But I am at a loss as to how I should refer to the path for this
> connection within my PHP script. Any help would be most appreciated.
>
> If it's any additional help, I would be using the connection to read
> files only, and not add/edit/delete them.
>
> Thanks
> Alexis
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
John Mertic
[EMAIL PROTECTED]
http://jmertic.wordpress.com

"Explaining a joke is like dissecting a frog: you understand it
better, but the frog dies
in the process." --Mark Twain

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

Reply via email to