Accessing DBF files

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
nbertolino
Forum Newbie
Posts: 2
Joined: Tue Nov 19, 2002 12:11 pm
Location: Brazil

Accessing DBF files

Post by nbertolino »

Hi!
I´m trying to access a DBF file using de DBASE_OPEN function and I´m having some problems.
The file I´m trying to access is located on a server different from the server on PHP is installed. I´m able to access only DBF files located on the same server wich PHP is installed and under the INETPUB directory.
I´m using IIS 4.0 on Windows NT 4.0 SP6.
I would like to access a DBF file located on a server other than the PHP one. I wish I could use the \\SERVER\SHARE\FILE.DBF structure to access the file.
Could anybody help me, please?!?!
Thanks, Nelson.
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

Post by hedge »

I would think this is a permissions problem. The webserver runs as IUSER_[machinename] so it has no access to other shares unless they are acessable by 'everyone'.
nbertolino
Forum Newbie
Posts: 2
Joined: Tue Nov 19, 2002 12:11 pm
Location: Brazil

Acceesing DBF Files

Post by nbertolino »

Hedge, thanks for the answer, but the permissions were given to anybody on the share I´m trying to access. I noticed that PHP can access files in all the drives on the server in which it is installed.
I´ve created a new Web Directory on IIS 4.0 pointing to the share I want to access on the other server. I wish it works. I´ll try.

Thanks again,
Nelson
Post Reply