Re: RE: Cannot access file on Network Drive (Windows 2003)
| From: | Rahul Sitaram Johari | Date: | Wed, 23 May 2007 20:47:40 +0000 |
| Subject: | Re: RE: Cannot access file on Network Drive (Windows 2003) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-255464@lists.php.net to get a copy of this message | ||
I use a Mac OS X Server generally, where I mount network drives to a share
point. Everything works therein. Recently I had a need to setup Apache Web
Server, PHP & mySQL on a Windows 2003 Server we have in the office.
There I used the same scripts I was running on Mac OS X to access files on a
network drive. But in Windows 2003, I¹m not mounting anything on a share
point, I¹m simply referring to the files using actual paths. Whether it¹s a
direct X:\ kind of path, or a network path \\servername ... With or without
backslashes.
This is the first application I setup on the Windows Server to access files
on a network drive.
On 5/23/07 4:33 PM, "Jared Farrish" <farrishj@gmail.com> wrote:
> So you haven't been able to actually access the drive yet? Are you using any
> other shared content on network drives that does currently work?
>
> On 5/23/07, Rahul Sitaram Johari <sleepwalker@rahulsjohari.com> wrote:
>>
>> I've been trying to run various entry level functions on the file, like
>> file_exists(), isreadable() etcetera.... But no matter what I do, I pretty
>> much get the "cannot open" warnings without much specification as to Why
>> cannot open.
>>
>> So when I do the dbase_open() function, and I've tried all different
>> combinations of paths, backslashes and all, I always get this:
>>
>> Warning: dbase_open() [function.dbase-open]: unable to open database
>> test.dbf in ... *followed by whatever path I put in*.
>>
>> I'm still going to try some more testing using text files, but this is what
>> I'm really get at.
>>