note 83679 added to function.ibase-connect
| From: | thebestvk at hotmail dot com | Date: | Sat, 07 Jun 2008 10:30:46 +0000 |
| Subject: | note 83679 added to function.ibase-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140202@lists.php.net to get a copy of this message | ||
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
----
Server IP: 193.233.48.78 (proxied: 193.233.51.120)
Probable Submitter: 138.100.216.52
----
Manual Page -- http://www.php.net/manual/en/function.ibase-connect.php
Edit -- https://master.php.net/note/edit/83679
Del: integrated -- https://master.php.net/note/delete/83679/integrated
Del: useless -- https://master.php.net/note/delete/83679/useless
Del: bad code -- https://master.php.net/note/delete/83679/bad+code
Del: spam -- https://master.php.net/note/delete/83679/spam
Del: non-english -- https://master.php.net/note/delete/83679/non-english
Del: in docs -- https://master.php.net/note/delete/83679/in+docs
Del: other reasons-- https://master.php.net/note/delete/83679
Reject -- https://master.php.net/note/reject/83679
Search -- https://master.php.net/manage/user-notes.php