Reputation: 1827
I know nothing about web development but I am trying to figure out how to use a C program that i created to communicate with a website made in HTML. I've done a bit of research and it seems i can use PHP to call the C program with an exec command which will create a new process. From my understanding PHP makes HTML dynamic so what i'm trying to do is pass information from C to the PHP part that modifies my HTML code to display up to date information. Is there any other way to communicate information besides the exec command?
Upvotes: 0
Views: 85
Reputation: 2741
Have you looked into CGI? I understand that's what is used to run payment systems and so on. I have no experience myself but that should get you started.
http://www.cs.tut.fi/~jkorpela/forms/cgic.html
Upvotes: 1