OK.... made some headway...

Made my network drive that I wanted to access a virtual directory on my
IIS - this is fine, I can now see all my files and folders when I surf that
virtual directory in a web browser.

However, when trying to create a DB using dbase_create - I receive the
following message

---- start output -----
attempting to create //flcintranet/pi2000/ordentry/5788/pappexpt.dbf

Warning: Unable to create database (13): Permission denied in
C:\InetPub\wwwroot\pappreport.php on line 93
Error creating table!
----- end output -----

Here is my code for this:

  // "database" name
  $dbname = "//flc/pi2000/ord/pappexpt.dbf";
  // database "definition"
  $TableDef =
  array(
   array("BATCH_NUM",  "C", 10),
   array("DONORNO",    "C",  8),
   array("FIRST_NAME", "C", 15),
   array("MIDDLENAME", "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("TOTAL",      "N", 10, 2)
  );

  // creation
  Print "attempting to create $dbname<BR>";
  if (!dbase_create($dbname, $TableDef)){
   print "<strong>Error creating table!</strong>";
  }else{
   print "Table successfully created!<BR>";
  }

Any ideas????
Dave



"Dave Leather" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes, and Yes...
>
> Access is granted throughout.. Read, Write, Create, Erase, Modify and File
> Scan access is granted for this login ID.
>
> Any other suggestions?????
>
> Thanks again
> Dave
>
> "Andrew Brampton" <[EMAIL PROTECTED]> wrote in message
> 00ca01c21ba6$b2b36ea0$7432260a@student5830">news:00ca01c21ba6$b2b36ea0$7432260a@student5830...
> > Does the user to which ISS runs under have network permissions to access
> p:\
> > ?
> > IIRC you need to set up ISUR_machine_name to have permission to the
remote
> > share.
> >
> > Andrew
> > ----- Original Message -----
> > From: "Dave Leather" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, June 24, 2002 6:29 PM
> > Subject: [PHP] PHP with IIS
> >
> >
> > > Hello all,
> > >
> > > I am attempting to open and/or create a DBASE file on a NOVELL
network.
> > >
> > > When I attemp a command such as
> > >   if (!dbase_open("C:\\orders.dbf",2)){
> > >    print "COULD NOT OPEN DB";
> > >   }else{
> > >    print "DB WAS OPENED";
> > >   }
> > >
> > > I receive a message that says "DB WAS OPENED - no problem...
> > >
> > > On my IIS server, I have Novell drive map to P: - I can browse this
> using
> > > explorer or in CMD I can go to P: and do DIR etc etc.
> > >
> > > When I try :
> > >   if (!dbase_open("P:\\orders.dbf",2)){
> > >    print "COULD NOT OPEN DB";
> > >   }else{
> > >    print "DB WAS OPENED";
> > >   }
> > >
> > > I receive a message that says :
> > > Warning: unable to open database P:\orders.dbf in
> > > C:\InetPub\wwwroot\pappreport.php on line 81
> > > COULD NOT OPEN DB
> > >
> > > Yes, the database exists, as I copied it FROM here to C:\ to do my
test.
> > >
> > > Any ideas??? I have checked the PHP.INI file, and all the regular
> settings
> > > in IIS - and could not find anything misconfigured.. but I am by no
> means
> > an
> > > IIS expert, so I am not sure.
> > >
> > > Thanks in advance
> > > Dave
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to