Creating a dbase file on a virtual directory with IIS
| From: | Dave Leather | Date: | Wed, 26 Jun 2002 20:10:23 +0000 |
| Subject: | Creating a dbase file on a virtual directory with IIS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104056@lists.php.net to get a copy of this message | ||
Running IIS4 on NT 4 server...
Have a VIRTUAL directory setup to a Novell netware drive.. I have the
virtual directory called PI. My IIS server is called FLC
So.. when I go to //FLC/PI - I see a directory listing. No problem.
When I attempt a
$DbName = '//flc/pi/test.dbf';
$TableDef =
array(
array("BATCH_NUM", "C", 10),
array("DONORNO", "C", 8),
array("FIRST_NAME", "C", 15),
array("LAST_NAME", "C", 20),
array("ADDRESS_1", "C", 35),
array("ADDRESS_2", "C", 35),
array("ADDRESS_3", "C", 35),
array("CITY", "C", 25),
array("STATE", "C", 2),
array("ZIP", "C", 10),
array("TELEPHONE", "C", 13),
array("TOTAL", "N", 10, 2),
array("CREDIT_CRD", "C", 30),
array("CARD_NUM", "C", 16),
array("EXP_DATE", "C", 5),
array("SELECTFLD", "C", 9)
);
DBASE_Create($DbName,$TableDef);
I receive this error
Warning: Unable to create database (2): No such file or directory in
C:\InetPub\wwwroot\pappreport.php on line 100
Any ideas?
Dave