> Hi All, > > > This is my first participation in this group, so my question is I > write a function in c, but I need use this function and more joined in a > library make using the command ar rc alexlib.a x.o, but this procedure show > a error when I use this in my browser, please anyone can help me. > > thanks > > example > > file x.c > > int function addvalue ( int *a ) > { > *a = *a + 1; > return (a); > } > > > gcc -c x.c > ar rc alexlib.a x.o > > > php > > > <? > phpinclude ("alexlib.a"); > $a = 1; > $b = addvalue ( $a ); > print ( "Value = 4b "); > ?> > > > >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php