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

From: Date: Thu, 24 May 2007 22:23:52 +0000
Subject: Re: Cannot access file on Network Drive (Windows 2003)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-255578@lists.php.net to get a copy of this message
On 5/24/07, Richard Lynch <ceo@l-i-e.com> wrote:
On Wed, May 23, 2007 1:46 pm, Rahul Sitaram Johari wrote: Apache 2.2, PHP5 & mySQL 5 on Windows 2003. I have some files sitting on a Network Drive accessible on the Windows 2003 Server. But my php script is not able to open the files. Let¹s say there¹s a database on X:\Transfer\test.dbf If I use: $db = dbase_open(³X:\Transfer\test.dbf², 0); It is not able to open the database. The X: Drive is a network drive. Any clues on how to make this happen? Check permissions on that drive/share/file/directory?... Google for "PHP Network Drive" and see if others have the same problem. For all I know, the dang thing is just broken. It is Windows, after all. :-)
I had a similar problem with a mysqldump file that I was trying to copy over, via a script, to a networked drive. The networked drive was on a Novell share, and I could see it and copy just fine using windows explorer but nothing I did ever allowed me to copy via the script. I even had Apache installed as a service on the windows box and had all permissions as open as possible on all directories just to test. I finally gave up and did it from a Linux server using ncpfs to mount the Novell drive. FWIT, David

« previous php.general (#255578) next »