PHP + CISCO NETWORK REGISTRAR (Berkeley DB)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oscquin
Forum Newbie
Posts: 2
Joined: Mon May 14, 2007 10:13 am

PHP + CISCO NETWORK REGISTRAR (Berkeley DB)

Post by oscquin »

Hello, I'm trying to develop a web gui for cisco network registrar, wich is an ip-dhcp manager. It uses berkeleydb embedded database and has a command line interface, that can receive instructions via batch files. what I need is:
a) a way to send instructions to that command line and read the responses from it. I have tried exec() function but doesn't work
or b) a way to connect to the berkeleydb via sql instructions.

hope you can help me, and thanks in advance for your attention.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

oscquin
Forum Newbie
Posts: 2
Joined: Mon May 14, 2007 10:13 am

dba installation under windows

Post by oscquin »

Hello volka, thanks for your reply. You will think "what a fool" but, under windows, is it possible to install these dba functions and if so, how you do it?

thanks again...
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

The zip package as well as the installer for php 5.2.2 at http://de2.php.net/downloads.php contains a php_dba.dll
Just activate the module by removing the leading ; from extension=php_dba.dll in your php.ini
Ask phpinfo() which php.ini you have to change. After you've successfully chenged the file and restarted your webserver phpinfo() should print
dba
DBA support enabled
Supported handlers cdb cdb_make db3 inifile flatfile
Post Reply