* Thus wrote mathieu: > Hi, > > I know that there are severals ways to add personnal functions into php and > i am looking for documentation about how to realize it. > If u need a bash explication, i want to do this with php: > "./configure -with-my-stuff" > Additional question: is it possible to link php scripting c++ rather than c > ?
A more appropriate place for these kind of questions would be on the PECL mailing list (http://pecl.php.net/) The way to add the configure option is by defining an config.m4 (macro language processor file) in your extenstion. You can see examples of this in php's source in the ext/ directory or any PECL extension. > > thank you if u are going to give me any ((relative link) or (sample codes in > c or c++) or (informations)) about that ! :o) There are plenty available: Tutorials: http://pecl.php.net/support.php#tutorials Code: http://cvs.php.net/php-src/ext/ http://cvs.php.net/pecl/ Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php