473,473 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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



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
3 1246
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

110
by: Mr A | last post by:
Hi! I've been thinking about passing parameteras using references instead of pointers in order to emphasize that the parameter must be an object. Exemple: void func(Objec& object); //object...
4
by: deko | last post by:
This is a basic program flow question. I'm trying to refractor an AC2000 app and split sections of code into separate modules. But there are a number of collections I create in one big module -...
0
by: Helen | last post by:
I have a simple oledb dataset on one windows form in vb .net 2002 calling one column from oracle 7, results appear in a text box But, only the first results appears. Goal is to show all results...
9
by: Camellia | last post by:
Hi all, I'll get straight into it. When I try to run the code: ..... while (scanf("%c", &c) == 1) printf("%c", c); ..... I input "abcd" follows by an EOF(Ctrl + d) instead of pressing...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.