note 83679 rejected from function.ibase-connect by felipe
| From: | felipe@php.net | Date: | Sat, 07 Jun 2008 18:13:32 +0000 |
| Subject: | note 83679 rejected from function.ibase-connect by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140205@lists.php.net to get a copy of this message | ||
Note Submitter: thebestvk at hotmail dot com
----
Mr /Ms
first of all, my english is not very good, so I say sorry about it.
I would like to connect php with interbase. It is the first time I am working with php and
interbase. I am working in Windows XP, apache 2.2.6, php 5.2.5
php info shows this information:
interbase
Firebird/InterBase Support dynamic
Compile-time Client Library Version Interbase 6
Run-time Client Library Version Firebird 1.0/Interbase 6
Directive Local Value Master Value
ibase.allow_persistent On On
ibase.dateformat %Y-%m-%d %Y-%m-%d
ibase.default_charset NULL NULL
ibase.default_db NULL NULL
ibase.default_password ******** no value
ibase.default_user no value no value
ibase.max_links Unlimited Unlimited
ibase.max_persistent Unlimited Unlimited
ibase.timeformat %H:%M:%S %H:%M:%S
ibase.timestampformat %Y-%m-%d %H:%M:%S %Y-%m-%d %H:%M:%S
and in php I wrote:
if (ibase_connect('localhost:G:\\wamp\\bin\\BD_Interbase\\ogmasig.gdb',
'sysdba', 'masterkey'))
and it shows this mistake error:
Warning: ibase_connect() [function.ibase-connect]: bad parameters on attach or create database
CHARACTER SET NULL is not defined in G:\wamp\www\OGMASIG\pruebaBD_interbase.php
I do not find this error anywhere. why does it occurs? how can I solve it?
thank you very much