>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.
MySQL also has methods to handle that. Seems that's the route you'll want to go. You'll have to read up on it's API and usage at http://www.mysql.com/doc/en/index.html and http://www.mysql.com/documentation/mysql++/index.html. Regards. ----- Original Message ----- From: "Gregory Kornblum" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php