Re: RE: Cannot access file on Network Drive (Windows 2003)

From: Date: Wed, 23 May 2007 20:31:34 +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-255462@lists.php.net to get a copy of this message
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. On 5/23/07 3:32 PM, "Jared Farrish" <farrishj@gmail.com> wrote: > Try to simply include() and var_dump() or something. Start from just > checking you can access the file first (I'd even start with a > test.txtfile), before you inflate the db... > > Let us know what the error is exactly, as well. What happens? Error? > Warning? Blank page? What tells you the script doesn't work? > > On 5/23/07, Rahul Sitaram Johari <sleepwalker@rahulsjohari.com> wrote: >> >> >> Tried that too. Used >> >> \\Servername\sharename\test.dbf >> >> Also used additional backslashes for the escape issue: >> >> \\\\Servername\\sharename\\test.dbf >> >> Still doesn't work! >> I'm not getting a permissions related issue and I'm doubting it is a >> permissions issue. I have Full Control given to the system all this is on. >> >>

« previous php.general (#255462) next »