[PHP] Cannot access file on Network Drive (Windows 2003)

2007-05-23 Thread Rahul Sitaram Johari
Ave, 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 i

RE: [PHP] Cannot access file on Network Drive (Windows 2003)

2007-05-23 Thread Jay Blanchard
[snip] 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? [/snip] Have you checked the permissions? -- PHP General Mailing List (h

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

2007-05-23 Thread Rahul Sitaram Johari
Well, Full Permissions (Full Control, including read & write) have been given to the Machine on which the Apache Web Server is setup. Not sure if anything else needs to be done! On 5/23/07 3:02 PM, "Jay Blanchard" <[EMAIL PROTECTED]> wrote: > [snip] > Let¹s say there¹s a database on X:\Transfer

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

2007-05-23 Thread Tijnema
On 5/23/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Well, Full Permissions (Full Control, including read & write) have been given to the Machine on which the Apache Web Server is setup. Not sure if anything else needs to be done! The \ is an escape token, and you should use \\ instead.

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

2007-05-23 Thread Rahul Sitaram Johari
Didn't help. Tried X:\\Transfer\\test.dbf Still can't access the file. On 5/23/07 3:11 PM, "Tijnema" <[EMAIL PROTECTED]> wrote: > The \ is an escape token, and you should use \\ instead. > > Try X:\\Transfer\\test.dbf instead. > > Tijnema > > ps. Please don't top post. -- PHP General Maili

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

2007-05-23 Thread Jim Lucas
Rahul Sitaram Johari wrote: Didn't help. Tried X:\\Transfer\\test.dbf Still can't access the file. On 5/23/07 3:11 PM, "Tijnema" <[EMAIL PROTECTED]> wrote: The \ is an escape token, and you should use \\ instead. Try X:\\Transfer\\test.dbf instead. Tijnema ps. Please don't top post. Try

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

2007-05-23 Thread Jim Lucas
Rahul Sitaram Johari wrote: Ave, 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:\

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

2007-05-24 Thread Stut
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:\Transf

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

2007-05-24 Thread Rahul Sitaram Johari
Ave, UNC paths didn't work, i.e., ("server\\share\\Transfer\\test.dbf"). I have no clue how to Run Apache as a particular User on Windows! I installed Apache using the Installer available - but I really don't know anything else 'user' related about Apache. Both "SYSTEM" and the Computer I'm

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

2007-05-24 Thread Richard Lynch
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

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

2007-05-24 Thread David Giragosian
On 5/24/07, Richard Lynch <[EMAIL PROTECTED]> 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.

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

2007-05-25 Thread Rahul Sitaram Johari
At this point having gone through all sorts of permissions and running Apache as User and what not - I'm pretty close to giving up myself. Fortunately I do have other alternates to running this particular application - but it would have helped if things worked. On 5/24/07 6:23 PM, "David Giragos