Results 1 to 10 of 10
Sep 13, 2011, 21:40 #1
- Join Date
- Sep 2011
- 0 Post(s)
- 0 Thread(s)
How to integrate PHP and C program
Let me put my problem in a simple way. I have written a C program, which i will keep in my server. Now i am developing a
website using PHP, so that other users can also have access to my stand alone C program.
So here i want my PHP to take input from users and bring that input and run my C program and then again take the results of
the C program back to the users using PHP(probably using the same website itself).
Please suggest me how to do it. It would be easier for me to understand if you can tell me using simple program.
For example my C program has a function that adds two numbers. The users can provide their input (the numbers) using my
website. Then PHP will somehow interact with C function and return the results to the user.