[TYPO3] connecting to a foreign database

ries van Twisk typo3 at rvt.dds.nl
Thu Dec 20 13:57:21 CET 2007


Hey Peter,

I did something like that with the rvt_adodb extension.
It allows you to connect to different database and
give you a AdoDB connection in a global aswell.

You should beable to use it if you don't want typo3 to
use any of the tables in your remote db.

Ries

On Dec 20, 2007, at 7:46 AM, PEF wrote:

> Hi,
>
> I'm working on an extension where I have to get some data from a MSSQL
> database. For that purpose I've created a class much similar to the DB
> class used by Typo3.
>
> What I would like to do is to:
> - define a variable $GLOBAL['MSSQL_DB'] to hold my connection to the
> database
> - include my mssql-class, so that I can use it in the same way, that I
> use the $GLOBAL['TYPO3_DB'] - like $GLOBAL['MSSQL_DB']- 
> >exec_SELECTquery
>
>
> I'm very much in doubt what will be the right way to do it.
>
> Any qualified suggestions?
>
>
> Regards
> Peter Falk
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

--
Ries van Twisk
Freelance TYPO3 Developer
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk
Phone: + 1 810-476-4193









More information about the TYPO3-english mailing list