Need help on c++ compiled proces handling with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cumars
Forum Newbie
Posts: 2
Joined: Thu Feb 23, 2006 2:54 pm
Location: Latvia

Need help on c++ compiled proces handling with php

Post by cumars »

Can anyone help me out - I need to path values to a c++ programm and then read the result (like on windows batch files - reads from console output). I am using Apache, php5, and all that on WinXP - if it is important.

So my question: is it possible?
I have tryed to manage it with popen and proc_open functions, but without any success :roll: .

And if it would not be very hard - could anybody show an example code in here?

Many thanks in advance.
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

cumars
Forum Newbie
Posts: 2
Joined: Thu Feb 23, 2006 2:54 pm
Location: Latvia

Post by cumars »

THX - I will try it out
Post Reply