>hi >I have an extension problem. >i have wrote this exemple >#include....... >char* xx(){ > >return "true"; > > >} >it's a simple example. >I have compiled it into .SO dynamic library. >when I try to load it into PHP i get this message >cannot include .....(may be not php extension). >CAN YOU HELP ME PLEASE.
You need to do some extra C macros to change it from a *normal* .so dynamic library into a PHP .so dynamic library. I don't know exactly what they are, but you can find a nice short sample here: http://conf.php.net in Rasmus' talks -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php