For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > February 2005 > Re: can php interact with a c program?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: can php interact with a c program?
Jean-Marc Molina

2005-02-25, 8:56 am

skeeterbug a écrit/wrote :
> i do some web db stuff using php. i coworker asked me if he could
> develop a php front end that would ultimately end up interacting with
> a program he had written in c (c++ or whatever).
>
> can php do this sort of thing or is it a dead end? tia...


Sure, see your application as a client-server one. There are different ways
to implement such an application and the best one is probably to make your
PHP application a web service. Using XML protocols like SOAP so you should
be able to send messages from one application to an other, exchange data,
anything. It all depends of what you want to do. What did you mean by
interaction ? Real-time respond ? Data exchange ? Data fetch at a specific
time of the day ?

--
Jean-Marc.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com