Click to See Complete Forum and Search --> : Shared drives


AndrewBriz
01-29-2003, 10:08 PM
I am currently running windows IIS with PHP and I want to convert over to apache on a linux platform.

The problem is that within my PHP scripts I am accessing windows shared drives as follows

\\server1\webshare\{path}
\\server2\webshare\{path}

to retrive files with "readfile(filename)".

These storage areas are also to be converted to linux.

How do I (if it's possible) set up this method of access under linux without using mounts ??

Any help would be greatly appreciated.

z0mbix
01-30-2003, 06:26 AM
If I understand you correctly you should be able to acheive this by running samba so server files as if they are on a windows share.

AndrewBriz
01-30-2003, 06:38 AM
This may be the only way I can do it but I wanted to get away from having static mounts. With windows it's compelety dynamic so I could change the link from an administration web page and it would only be used when it was required. Might have to find another solution so that it can be dynamic.