Thread: PDO Informix
View Single Post

   
  #2 (permalink)  
Old 04-20-2008, 10:25 AM
Roland Wintgen
 
Posts: n/a
Default Re: PDO Informix

Nimue schrieb:
> Hallo -
>
> I'm looking for some information or assistance with the PDO Driver
> (http://pecl.php.net/package/PDO_INFORMIX). Has anyone been using it?
>
> Thank you,
>
> Nim
>

Hi Nim,

I had a look at it and it seems to work. Take a look at the test suite, this
will give you some idea how to set up a connection and pulling data out of the
database. To set up a connection you would use:

db = new PDO("informix:host=host.domain.com; service=9800; database=common_db;
server=ids_server; protocol=onsoctcp; EnableScrollableCursors=1", "testuser",
"testpass");

However I admit that documentation on PDO is somewhat incomplete.

BTW I'm stuck with handling BLOBs. Anyone out there who has experience with these?

Regards

Roland

--
Roland Wintgen (Systemadministrator)

EVG Elektro-Vertriebs-Gesellschaft Martens GmbH & Co KG
Trompeterallee 244-246, D-41189 Moenchengladbach
Tel. +49 21 66 / 55 08 23, Fax +49 21 66 / 55 08 90
www.evg.de rw@evg.de
Reply With Quote