By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,194 Members | 783 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,194 IT Pros & Developers. It's quick & easy.

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

P: n/a


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?
--
*Just keep swiming*
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Carramba wrote:
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!

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #2

P: n/a
On Mon, 31 May 2004 18:01:53 GMT, Phlip <ph*******@yahoo.com> wrote:
Carramba wrote:
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!

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
--
*Just keep swiming*
Jul 22 '05 #3

P: n/a
Carramba wrote:
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.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.