Using JavaScript or PHP in C++ Programs?

Is there any way to use JavaScript or PHP or any way to connect to the web in my C++ programs?
closed account (3hM2Nwbp)
It's a bit ambiguous as to what you require. Do you want to read data from a website or do you require bidirectional communication?
Last edited on
I need to be able to communicate with it. Basically be able to use JavaScript and PHP as if I was using JavaScript or PHP without C++.
I use both SFML HTTP class and Microsoft WinHttp to do a request from a webserver and of course, the PHP code will execute in the server and my C++ code just gets the output. Don't know about javascript being involve here.

Try googling those two libraries. Good luck!


BTW, it would be nice if you explain more what are you trying to accomplish here.
You might want to take a look at Google's open-source JS engine, V8.

http://code.google.com/p/v8/
Topic archived. No new replies allowed.