Re: From PHP to C and viceversa

From: Date: Mon, 13 Oct 2003 13:49:05 +0000
Subject: Re: From PHP to C and viceversa
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165981@lists.php.net to get a copy of this message
Thank you for your answer, I have to develop an application for a small LAN (4 pcs) What I need is to store some data in a personally cryptographed manner (two way as I need to store and be able to retrieve data), so no one can just sit in front of the pc where the server is (linux or win200 I have to decide), copy the data file to a diskette and bring our data (customers' addresses) home. I cannot guarantee that this can not happen. If I use the my_crypt functions I think that on another pc the data can be easily read. Thanks Antonio Bernabei ----- Original Message ----- From: "Gregory Kornblum" <GKornblum@guesswho.com> To: <php-general@lists.php.net> Sent: Monday, October 13, 2003 2:34 PM Subject: RE: [PHP] From PHP to C and viceversa > > >I have apache under linux and I want to exchange data > >from a php script to a c programm (some strings): is it possible? > > Yes in multiple ways. First off you need to figure out if you have the > source for the C application. If so you can use sockets, the MySQL client > API, and various other connectivity methods. Since it's using a script I'm > assuming it's not an extremely high concurrency application, then using the > MySQL client API would be the most robust option. The only other way to do > it without the source, at least that comes to mind, would be to output a > file from PHP if the C application takes input from a file. Regards. > > -Gregory > > P.S. Try to elaborate a bit more with your requests next time. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#165981) next »