|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
HELP: PHPwith Informix - questions
Hi,
I have a PHP 4.0.6 set up. i am not upgrading PHP at the moment. All of my existing apps are base don a mySQL DB however, some of the powers that be where i work have decided not to support mySQL and now I have to change everything across to informix. The Informix DB is on a different server, what do I need to do to connect to it? Do I just specify an ip address, username and password in the ifx_connect funtion or is there a special way that PHP needs to be set up? In the PHP/extensions directory php_ix.dll is already there |
|
#2
|
|||
|
|||
|
int ifx_connect ( [string database [, string userid [, string password ]]] )
I have no background with Informix, so I'm going to try and answer your question on logic alone. ![]() "database" is the name of the database, and the hostname of the server you want to connect to, eg: foodb@localhost. You might also want to try an IP, just experiment. "userid" is your username. "password" is obviously your password. Now, none of these values need to be entered in if you have them already preset in php.ini. Hope this helped you some, -J. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > HELP: PHPwith Informix - questions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|