Hi,

Thought I'd jump in here, cos it's either write this or do some work - god 
forbid.

On Monday 15 July 2002 8:09 am, Karen Liew Ying Ping wrote:
> Hi,
>
> What if my DBF file is on a Windows 2k machine but the script is on another
> machine running Apache. How do I go about it?
>
> Is it still looking through the perldoc?

If you use DBD::XBase I think it directly accessed the database file, so you 
will need to make the file available across the network in such a way as to 
give the running Apache access to it.  If the file's on a w2k system, that 
probably means sharing the directory it's in and smbmounting the share on the 
linux box, giving Apache's user access.

If you use DBD::ODBC, you need to configure the ODBC on the w2k system to 
enable remote systems ODBC access to that file.  Sorry, but I can't help you 
with this bit.

Either way, the perldocs (including perldoc DBI) will show you how to use the 
database once it's available.

Gary


>
> Thanks
>
> ----------------------------------
> Best Regards,
> Karen Liew Ying Ping
> Web Applications Programmer
> Product Delivery & Ops
>
> Starhub Internet Pte Ltd
> 31, Kaki Bukit Road 3, #05-18/20
> Techlink Lobby A
> Singapore 417818
> DID: 6 825 7813
> Email: [EMAIL PROTECTED]
>           [EMAIL PROTECTED]
>
>   ----- Original Message -----
>   From: Jenda Krynicky
>   To: [EMAIL PROTECTED]
>   Sent: Friday, July 12, 2002 8:05 PM
>   Subject: Re: DBF File
>
>   > Hi,
>   >
>   > Anyone knows if PERL can talk to a .dbf file that is sitting on the
>   > same machine where PERL is installed?
>
>   See
>   perldoc DBD::XBase
>   and
>   perldoc DBD::ODBC
>
>   If you do not have these modules, install DBI.
>
>   Jenda
>   =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==========
>   There is a reason for living. There must be. I've seen it somewhere.
>   It's just that in the mess on my table ... and in my brain
>   I can't find it.
>   --- me
>
>
>   --
>   To unsubscribe, e-mail: [EMAIL PROTECTED]
>   For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to