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

2007-05-24 Thread Stut
Rahul Sitaram Johari wrote: 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

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

2007-05-24 Thread Rahul Sitaram Johari
How exactly do you run Apache manually as your own user on Windows 2003? On 5/24/07 5:32 AM, Stut [EMAIL PROTECTED] wrote: Does the user Apache is running as have permission to access the network at all? It's fairly common for services to lack that access for (shockingly for Windows)

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

2007-05-24 Thread Stut
Rahul Sitaram Johari wrote: How exactly do you run Apache manually as your own user on Windows 2003? You read the Apache documentation for the version your're using on Windows at http://httpd.apache.org/ -Stut On 5/24/07 5:32 AM, Stut [EMAIL PROTECTED] wrote: Does the user Apache is

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

2007-05-24 Thread Rahul Sitaram Johari
Ave, Instead of going back forth on various function path tests, I wrote a small code containing different suggested combinations of PATH and also the gettype() as Jim had requested. Following is the Code and the Output. Code: $filename = 'X:\send\Transfer\LIVE\live.txt'; echo

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

2007-05-23 Thread Jared Farrish
Other than permissions, you might be referencing the folder by the local network mapping drive initial, instead of the actual path: X:\\offsite\db\test.dbf == \\compname-x\offsite\db\test.dbf Generally, I like using the computer name and not a mapping. I find this name-based address through the

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

2007-05-23 Thread Jared Farrish
Oh yeah, and tijnema has a good point: \\compname-x\\offsite\\db\\test.dbf Btw, what does top post mean? On 5/23/07, Jared Farrish [EMAIL PROTECTED] wrote: Other than permissions, you might be referencing the folder by the local network mapping drive initial, instead of the actual path:

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

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

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

2007-05-23 Thread Jared Farrish
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

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

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

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

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

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

2007-05-23 Thread Tijnema
On 5/23/07, Jared Farrish [EMAIL PROTECTED] wrote: Oh yeah, and tijnema has a good point: \\compname-x\\offsite\\db\\test.dbf For the escaping issue, you should use compname-x\\offsite\\db\\test.dbf Btw, what does top post mean? Means you are replying at top of the old post, and not,