ID: 18517 Updated by: [EMAIL PROTECTED] Reported By: bilo at mit dot it -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: Linux, Windows NT, AIX PHP Version: 4.2.2 New Comment:
Currently there is a picoSql wrapper in PECL : http://cvs.php.net/cvs.php/pecl/picosql Previous Comments: ------------------------------------------------------------------------ [2003-04-12 09:20:03] [EMAIL PROTECTED] samjam's email doesn't work, so removing the assigned flag. ------------------------------------------------------------------------ [2002-08-13 22:03:14] [EMAIL PROTECTED] marking as assigned. ------------------------------------------------------------------------ [2002-07-26 04:33:26] [EMAIL PROTECTED] I think you should make it a PECL package, as this is not really a mainstream database. Derick ------------------------------------------------------------------------ [2002-07-26 04:29:31] [EMAIL PROTECTED] I though't I'd add a note on how easy this is with swig-cvs: # make work directory mkdir picosql-php cd picosql-php # make interface file to depend on picosql .h files # we could craft our own .i file if we wanted cat > picosql.i <<END %module picosql %{ #include <odbcsql.h> %} %include win4unix.h %include odbcsql.h END # generate php module - very easy, need cvs version of swig swig -php4 -c++ -shadow -phpfull -I/usr/include -withincs odbcsql.h -o picosql_wrap.cpp picosql.i # compile! phpize ./configure --with-picosql=/usr make make install # then test the module loading php php_picosql.php ------------------------------------------------------------------------ [2002-07-26 04:28:11] [EMAIL PROTECTED] Well, I've done it, if there's no objection I'll add it to CVS. Someone else ([EMAIL PROTECTED] ?) will need to write the documentation and see how usable it actually is. Sam ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18517 -- Edit this bug report at http://bugs.php.net/?id=18517&edit=1
