Ruby/Informix 0.7.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Ruby/Informix 0.7.0 (Default branch)
# 1  
Old 04-02-2008
Ruby/Informix 0.7.0 (Default branch)

Ruby/Informix is a library for the Ruby programming language for connecting to an existing Informix database. License: BSD License (revised) Changes:
The INTERVAL data type is supported. Compatibility with Ruby 1.9 was ensured. More shortcut methods were added. More and better documentation with examples was written. The code was completely reorganized from a single shared object written in C to a set of Ruby scripts wrapping a C core.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
IFX_CONNECT(3)								 1							    IFX_CONNECT(3)

ifx_connect - Open Informix server connection

SYNOPSIS
resource ifx_connect ([string $database], [string $userid], [string $password]) DESCRIPTION
ifx_connect(3) establishes a connection to an Informix server. In case a second call is made to ifx_connect(3) with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling ifx_close(3). PARAMETERS
All of the arguments are optional, and if they're missing, defaults are taken from values supplied in php.ini (ifx.default_host for the host (Informix libraries will use INFORMIXSERVER environment value if not defined), ifx.default_user for user, ifx.default_password for the password (none if not defined). o $database - The database name, as a string. o $userid - The username, as a string. o $password - The password, as a string. RETURN VALUES
Returns a connection identifier on success, or FALSE on error. EXAMPLES
Example #1 Connect to a Informix database <?php $conn_id = ifx_connect ("mydb@ol_srv1", "imyself", "mypassword"); ?> SEE ALSO
ifx_pconnect(3), ifx_close(3). PHP Documentation Group IFX_CONNECT(3)