Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Posts
    2

    Question Unanswered: reading db file from a different server

    Hi,

    Is it possible to open a dBase file by referencing it from another server?

    I've checked to make sure I have access to the file, and I am able to download it, now I just need to be able to pull records from it

    Here's my code: (php)

    PHP Code:
    <?php
    $table 
    "http://xx.xxx.xxx.xxx:81/invntry.dbf";
    $db dbase_open($table0);

    $numRecords dbase_numrecords($db);
    $numFields dbase_numfields($db);

    dbase_close($db);

    print(
    "$numRecords\n");
    print(
    "$numFields");
    ?>
    It keeps telling me the file cannot be opened! Grr. Anybody have any ideas on how to get around this?

    Thanks!
    Alan

  2. #2
    Join Date
    Apr 2004
    Location
    Arizona
    Posts
    75

    Internet Guest

    Does the IUSR_XXXXX Internet Guest have rights to the directory the table resides in? This could be your proble. Also if you are using a client server data base (which looks like you are not *.dbf) you may want to also give the system user rights to that folder as well. Remember Windows 2003 does not automaticaly do this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •