mweb wrote:

> Thanks for the shameless plug, I'll look into your code. However,
> shouldn't something like what I want be possible in PHP with ODBC?

Yes, you can install UnixODBC or similar and use the odbc_* calls in PHP on
both os's.  I just do not know how reliable ODBC is on the *nix.

b.
mysql


>
>
>         mweb
>
> On Fri, Nov 09, 2001 15:22:11 at 03:22:11PM -0800, Bill Adams wrote:
> > mweb wrote:
> >
> > > >mweb,
> > > >         To make sure I understand you correctly, you want to create
> > > >and
> > > >test your PHP/MySQL database on your Linux/Apache box, then upload it
> > > >to
> > > >your ISP server that is running PHP/Access? I'm sorry but that's not
> > > >going
> > > >to work. You can't transparently switch a PHP application from MySQL
> > > >to
> > > >Access.
> > >
> > > Yes, you did understand me correctly.
> > >
> > > What I understand ( and could certainly be wrong) is that there are in
> > > PHP layers of abstraction/wrappers/APIs or whatever you call them,
> > > that allow you to do just that, i.e. to write code that is obviously
> > > not as efficient as one written specifically for one single database,
> > > but does work on more of them.
> > >
> > > As a matter of fact, after posting the first message, I bought the
> > > book PHP developers cookbook which has section 16.0 named more or less
> > > How to create a DB independent API with PHP, and that says "at the
> > > beginning of the script is included a file containing all the wrapper
> > > function....."
> >
> > <shameless plug>
> > http://evilbill.org/php/DBI.php3
> > I don't have an ODBC module for use under NT/Access but I would love a
> > contribution.
> > </shameless plug>
> >
> >
> >
> > > That's exactly what I was hoping to do. THe site has ~4000
> > > accesses/month, and just some hundred records in the DB, so performance
> > > is not really an issue here, is it?
> >
> > IMHO, no.
> >
> > b.
> > mysql
> >
> >
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
> --
> We need to focus on how to be productive, not just active.
>         Scott McNealy, chairman, CEO, and cofounders, Sun Microsystems.

--
Bill Adams
TriQuint Semiconductor




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to