Tuesday, July 28, 2009

Can php be integrated somehow with c++ code for website application?

I want to make a c++ program for a website that people can update. (serious answers only please)


For example-i have a program on a website that will turn out a funny myspace username when provided with lets say 4 variables(sex,age,one word describing personality, and gpa). I want to enable people to be able to enter funny myspace names they come up into a form and that data to be integrated into the c++ program. Is this in anyway possible? Mabe MYSQL could be used in some way to accomplish this.

Can php be integrated somehow with c++ code for website application?
short answer.....not for what you are doing





long answer, it is technically possible. You will need to convert your application into a dll to be registered on the server, then allow the web page to pass the 4 variables to it, and have it return the data and enter it into the MySql database.





or, simply code it in javascript (since the structure will be very similar to c++). Then enter that data into a mysql database.
Reply:And you don't want to use php because...?


No comments:

Post a Comment