Calling C++ from HTML page

I would like to be able to call c++ library from HTML page. So on HTML page I have area for some possible input (url, name, email, etc) and that info is passed to c++ and calculated info and may email someone; or pull info from text file and display on html page. Realizing PHP or something similar would be easier, I really want to make these calls from HTML pages. ??? Thoughts ???
You cannot call c++ library from HTML page. IIRC
Although you can :
1. use JavaScript , a simple language , you can grasp in like 5 mins
2. send the data to the server and then using CGI to interface with your program, see FastCGI
3. use Wt (witty) c++ framework.
Good info. I am fairly new to C++ and I am trying to avoid PHP, Python, or other languages if possible which is the reason for asking. Looking at Wt now. Somewhat familiar with Java and javascript although most of my web development experience 10+ years ago was with ASP... Thanks again
Last edited on
Topic archived. No new replies allowed.