Hi !

I am beginner in PHP.
I want to connect an IB database.

When I was execute this cgi code, the php send error message to me.

#!c:\php\php.exe
<?php
 include 'Db/ibase.php'; <--------------------- !!!!!
 print 'hello\n';
 print 'CONNECT\n';
 $host='127.0.0.1:c:/webapps/database/test.gdb';
 $username='sysdba';
 $password='akármi';
 $dbh = ibase_connect ($host, $username, $password);
 $stmt = 'SELECT * FROM a';
 $sth = ibase_query ($dbh, $stmt);
 while ($row = ibase_fetch_object ($sth))
  {print $row->email . "\n";}
 ibase_close ($dbh);
 print 'DISCONNECT\n';
?>

Fatal error: Class db_common: Cannot inherit from undefined class pear
in c:\php\pear\DB\common.phpon line 29

What I do wrong ?

Please help me ! Thanks.
 KK

>>> [EMAIL PROTECTED] 16.12.02 21:16 >>>
Hi,
any ideas on how to safely add user to the Windows 2000 AD(with PHP of
course)?
I experimented with exec() and net user /add ... any suggestion will
do.
Windows 2000 Server, IIS, PHP 4.2.3 (CGI)

Regards,
Vlado



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to