php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24959 Can''t open dbf file on remote server
Submitted: 2003-08-05 23:22 UTC Modified: 2003-08-08 03:28 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tm at doe dot donbass dot com Assigned:
Status: Not a bug Package: dBase related
PHP Version: 4.3.2 OS: Win2000Server
Private report: No CVE-ID: None
 [2003-08-05 23:22 UTC] tm at doe dot donbass dot com
Description:
------------
When i try open .dbf file on file-server i get message
unabile open. I try write
$id=dbase_open('F:\DATA\do-tit\SREZ\srez.dbf', 0);
$id=dbase_open('F:\\DATA\\do-tit\\SREZ\\srez.dbf', 0);
$id=dbase_open('F:/DATA/do-tit/SREZ/srez.dbf', 0);
I try get access to dbase file and read only, and write, and read-write - nothing work.
From explorer (on win2000) i can see and open this dbase file.
If i try open dbf file on local disk all will be fine.
On win98 (apache wiht php script located at computer with OS Win98) all work - i can open dbf file on fileserver.
 



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-07 06:51 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Also, does the file exist? Are you creating it or what?
Maybe it's just incompatible..

 [2003-08-07 07:04 UTC] tm at doe dot donbass dot com
File exist. File do not changed! Script do not changed. On win98 work. On win2000 don't work in two different computers at different companies.
 [2003-08-07 07:56 UTC] sniper@php.net
Does the webserver have read/write access to that remote directory/file ??

 [2003-08-07 23:33 UTC] tm at doe dot donbass dot com
yes, webserver have access. Also i can open and edit dbf file by dbu.exe for example....

This problem also exist if i try open dbf file on another computer on share folder...
 [2003-08-08 00:46 UTC] tm at doe dot donbass dot com
I undarstand. Sorry, this is my problem ((
Special thanks for sniper@php.net!
I change property of service Apache: logon on system as following user. 
Thak for all, sorry for spending time.
 [2003-08-08 03:28 UTC] sniper@php.net
User error -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 15:01:28 2024 UTC