[PHP] dl() problem

2002-06-21 Thread adelpfephp

hi
I am a new php user.
I am working on linux.
I have developped a c++ component who interact with MYSQL.
I have compiled it onto .SO object.
who can I use my methods With PHP.
the dl() function return some worning.
please help.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] extension problem

2002-07-04 Thread adelpfephp

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.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] extension problem

2002-07-04 Thread adelpfephp




Hi all
I am working with php on linux.
I want to create dynamic library and use it in php.
For example:
I have to built this
#include 
char* aa(){
return "true";
}

I succeed to compile this into a dynamic library x.so.

When I try to call this from php I get

Cannot load x.so. may be not a php library.

Can you help me please.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php