hoq to combine php and C ? or use php in C or the other way around? also... the owner of torrentz.com told me that he somehow combines php and C to run the scripts faster... but he doesn't have enought time to explain to me how he does it. does anyone here know how to do this? it would be nice if someone could show me an example for echo 'example'; in C combined with PHP.
PHP is a scripting language powered by C++ or C(donno which one). C/C++ programs need to be compiled to work while PHP is a scripting language (just like HTML) and need to be interpreted to work. But you can use an apache module to design your pages in cpp.