193572 linux c++ and PHP

In Progress Posted Jan 19, 2008 Paid on delivery
In Progress Paid on delivery

I have 2 linux c++ .cpp files that run as a command line. I need php to call these files using proc_open() and use sessions to track all the running instances.

You will

A) modify the 2 c++ files to accept/return the arguments from/to php. The first file is [url removed, login to view] which has 2 functions:

1) upload a db file into RAM.

2) process wav files against the db in RAM.

You will modify so that the db stays in RAM forever, until whenever I update it. Make sure nothing will automatically close the db in RAM. The modification may split the 2 functions in [url removed, login to view] into 2 separate .cpp files if needed.

B) Modify the C++ files to return results into PHP variable/array, instead of saving results in a text file. Write the php session code and proc_open routine to call the c++ library. Make sure multiple simultaneous sessions calling the c++ library will run independently.

C) Write a load testing routine to create multiple instances of calling the routine to ensure there are no orphan or defunct jobs leftover from the simultaneous running instances.

Pls post your resume and experience in c++ to php communications and memory mapping. I seek someone who has done proc_open or IPC, not a researcher.

C Programming Odd Jobs PHP

Project ID: #1939790

About the project

Remote project Active Jul 11, 2012