Does anyone know how to write functions in C or C++ and then use them in PHP?
Thanks.
Does anyone know how to write functions in C or C++ and then use them in PHP?
Thanks.
I wasnt aware that PHP was capable of such things. CGI can be used for this though.
I'm not sure whether or not there is a built-in feature that does this.
But since PHP is open-source, it may be possible to modify it in order to execute native C/C++
only thing I can think of is having PHP exec(ing) programs.
If any part of my post is incorrect, please correct me.
This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted.
http://us3.php.net/exec
There are of course some issues you will have to work around yourself like piping certain things, etc.
OS: Windows XP Pro CE
IDE: VS .NET 2002
Preferred Language: C++.