[PHP] Extension Help

2005-02-14 Thread Chris Cranford
I'm trying to write a PHPv4 extension and I am needing some assistance. I wish to have a function exported from my extension return a value which consists of a set of properties and functions much like so: // Gets user record from database store. $MyUser = GetUser(); echo "Your name is: ".$

Re: [PHP] Extension help

2004-11-07 Thread Curt Zirzow
* Thus wrote Kevin: > Hello all, > I have the source code for a C library who's functions i wish to > expose to php. Ideally i'd like to be able to use dl() or put the > library file location into php.ini to allow use of the functions. Look at http://pecl.php.net, it is dedicated to pro

[PHP] Extension help

2004-11-07 Thread Kevin
Hello all, I have the source code for a C library who's functions i wish to expose to php. Ideally i'd like to be able to use dl() or put the library file location into php.ini to allow use of the functions. Is there a tutorial on how to do this? I've read over the Zend API stuff, an