I have made and tested (originally againts 4.2.1 now against 4.3.0) a C
extension to PHP that allows you to name variables in the ini file that are
to be treated as super globals.  This is very handy for dealnews as we have
several variables (database object, directory paths, etc.) that are
constantly getting "globaled" in functions.  Yes, we could use constants,
but that won't work for the database class and they are harder to work with
in strings.

To the point, I want to know how/where this should be distributed.  I want
to do it "right".  I can write up some docs that tell you where to stick the
code, run buildconf, etc., but I wondered if there was a preferred way of
handling C extensions.  Is PECL ready for this stuff?

Thanks,

Brian Moon
dealnews.com



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to