I have access to a lightning fast btree database engine that I would like to access from my PHP code. Three questions. 1) Is there a means to call my shared library routine from my PHP script? 2) Since the shared library routine is a C function it is expecting binary arguments. Can I use the pack() and unpack() PHP functions to prepare data for the function call? 3) Finally what is the best way to call my C function?
Thanks for any help.