Hi,

I need some advice on where I can find relevant materials on passing values from an executable C programs to PHP scripts.

I think its possible by passing the values and store on a text file and import the text file into the scripts.

But I am now trying to gather some more resources to make sure I am on the right track.

Thanks in advance,
tris

Recommended Answers

All 2 Replies

try to find C tuts on socket programming, you can post values using http, you open a socket...

a very simple way would to use the exec command in php.

If you have a lot of values to return, then use a delimiter and so in conjunction with the exec function use the explode function (and the list function goes hand in hand with explode)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.