There seems to have a lot of easy function in PHP, such as substr, imap related(imap_binary, imap_fetch_body), eregi_replace ... I wanna use them in similar way in my C written servers. how can I do that? I do test with -lphp4(libphp4.so)
but there is no effect.
$string = substr($original, m, n);
== strncpy(string, original+m, n)
But for Imap-functions, it is really a little complex if written in C.
Thank you for any input!
James.DM
06/22/2001