[PHP] support for database interaction
Hi, I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this done? for example in: 'mysql_connect' or 'mysql_create_db' what code is executed behind this functions? I think the functions to make this done should be execute a program with some function, passes values and receive values from the 'shell' any idea?
Re: [PHP] support for database interaction
Fernando Garza wrote: Hi, I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this done? for example in: 'mysql_connect' or 'mysql_create_db' what code is executed behind this functions? Have a look at the PHP source code if you want to know what code is executed behind those functions. And please refrain from spamming the list with 4 almost-identical messages. Jasper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] support for database interaction
On Sun, 2005-08-21 at 02:58, Fernando Garza wrote: Hi, I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this done? for example in: 'mysql_connect' or 'mysql_create_db' what code is executed behind this functions? I think the functions to make this done should be execute a program with some function, passes values and receive values from the 'shell' Is there a reason you're spamming the list with multiple versions (teency bit changed from one to the next) of the same question? Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] support for database interaction
On 8/21/05, Fernando Garza [EMAIL PROTECTED] wrote: I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this done? for example in: 'mysql_connect' or 'mysql_create_db' what code is executed behind this functions? I think the functions to make this done should be execute a program with some function, passes values and receive values from the 'shell' any idea? http://pecl.php.net/support.php#tutorials -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] support for database interaction
On Sat, August 20, 2005 11:58 pm, Fernando Garza wrote: I am creating a 'Shell' in prolog language that interacts with a 'Visual Prolog' database format in 'Win32', I would like to interact with this database with 'PHP', just like the interaction with 'MySQL' database, can you give me some notion or the code that need to be executed to get this done? for example in: 'mysql_connect' or 'mysql_create_db' what code is executed behind this functions? The code in question can be found at: http://cvs.php.net/ Or you can use anonymous CVS to get the bleeding-edge version of PHP and develop a new module for Prolog. I think the functions to make this done should be execute a program with some function, passes values and receive values from the 'shell' That would not be anything like the way MySQL works. Though if you find it easier to do it that way, and can afford the performance penalty of a shell execution on each query, go for it. It would probably be fine for low-volume and maybe even moderate volume sites. It would almost-for-sure fail miserably on a high-volume server. But if you're more interested in making it work today on your box than making it work for everybody a year (or 2) from now, then that's maybe the way to go. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php