how to pass php serch results to c++ program?

C

Carramba

Well no more or less..
just wondering what way is esyes to do that.
detail:
php performs sertch in db and output should by passed to c++ program.
how to achieve that?
 
P

Phlip

Carramba said:
Well no more or less..
just wondering what way is esyes to do that.
detail:
php performs sertch in db and output should by passed to c++ program.
how to achieve that?

Server side?

php can write a file, shell to the C++ executable (typically with
system("")), and let the executable read the file.

This question will do much better on a PHP newsgroup, because that platform
is going to raise issues which a C++ newsgroup can't guess!
 
C

Carramba

Server side?

php can write a file, shell to the C++ executable (typically with
system("")), and let the executable read the file.

This question will do much better on a PHP newsgroup, because that
platform
is going to raise issues which a C++ newsgroup can't guess!


hehe
got same answer on php newsgroup.. post this question on c++ newsgroup...
so now I don't know were to turn with my question, but thatnx I ll try to
do with system command
 
P

Phlip

Carramba said:
got same answer on php newsgroup.. post this question on c++ newsgroup...
so now I don't know were to turn with my question, but thatnx I ll try to
do with system command

Your question has two components - how to send data out of PHP into a
shelled program, and how inside C++ to collect those data. You may not have
asked either question distinctly on either group.

Some languages call their shell command system() and some don't.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,169
Messages
2,570,920
Members
47,463
Latest member
FinleyMoye

Latest Threads

Top