Hi,
I have to integrate C++ code with PHP. Anybody worked before in this help me. Its very urgent.
Thanks for your help in advance.
PHP / C++ Integration
Moderator: General Moderators
- thomas777neo
- Forum Contributor
- Posts: 214
- Joined: Mon Mar 10, 2003 6:12 am
- Location: Johannesburg,South Africa
PHP / C++ Integration
Hi thomas,
Thanks for reply. C++ code contains the parser. So i have to call the C++ file in php and pass the parameters like <inputfile> <input-seprator> <outputfile> <output-seprator> col1 col2 co3 ....
Thanks for your help in advance,
Thanks for reply. C++ code contains the parser. So i have to call the C++ file in php and pass the parameters like <inputfile> <input-seprator> <outputfile> <output-seprator> col1 col2 co3 ....
Thanks for your help in advance,
- thomas777neo
- Forum Contributor
- Posts: 214
- Joined: Mon Mar 10, 2003 6:12 am
- Location: Johannesburg,South Africa
PHP / C++ Integration
Hi,
Thaks for your replys,
The C++ code file is used to read the log file. For that i have to call the C++ Code file and pass the parameters like <inputfile> <input-seprator> <outputfile> <output-seprator> col1 col2 co3 ....
Please send me some example code to do like this if its possible, then its very easier for to do.
Thanks for your help in advance,
Thaks for your replys,
The C++ code file is used to read the log file. For that i have to call the C++ Code file and pass the parameters like <inputfile> <input-seprator> <outputfile> <output-seprator> col1 col2 co3 ....
Please send me some example code to do like this if its possible, then its very easier for to do.
Thanks for your help in advance,
Exactly! However, it doesn't sound like he knows how to code at all. Otherwise, he would've realized thatSami wrote: If it's the executable, run exec()
the behaviour he is describing can be accomplished in PHP without the use of this C++ file.