Click to See Complete Forum and Search --> : Knoledge Based Content Management System


tarechipepera
02-17-2005, 10:06 AM
Hie Guyz::D

I`m in one hell of a fix and you might be the ones to halp me.
I`m doing this project and now i`m not sure if ever what i want to do is possible.I`m supposed to build a content management system for a site based on php and is driven by a mysql database.This is a course management site powered by www.Claroline.net and as i have said is more PHP than anything else.
The problem comes now when i have to build the system as a Knoledge based thing.I had suggested to use Prolog in this thing and then integrate the system to the site but the Question is is there any way that any PHP application with a Mysql database be integrated with a Prolog program?
Can anyone Tell me if Visual Prolog from www.visual-prolog.com be use in this application and run side by side well
Please help ME

bubblenut
02-17-2005, 10:34 AM
Not integrated, no but you can run a prolog program from within PHP with the shell_exec (or similar) commands. If you were to need to pass the prolog program data on stdin then you could use proc_open and it's siblings.

Weedpacket
02-17-2005, 11:35 PM
Wouldn't it help to ask this in a forum where it's more likely to be read by the general populace?

tarechipepera
02-18-2005, 05:20 AM
Wow Thanx Guyz
That was real fast !
I'm sorry but which forum can i ask such Coz this seems like one thing i do need at the moment.

Weedpacket
02-18-2005, 09:18 AM
Originally posted by tarechipepera
I'm sorry but which forum can i ask such Well, rather than asking in the Feedback forum - "Speak directly with the PHP Builder Staff here"; perhaps the General Forum - "Forum for General Help questions pertaining to PHP" would be more appropriate.

However, bubblenut has already pointed out that if the Prolog program could run as a standalone app, PHP can call on it as needed using system functions. (What would be really cool would be if the Prolog runtime libraries came with C API that could be built into a PHP Zend extension.)

tarechipepera
02-21-2005, 06:09 AM
Thanx Bubblenut and Weedpacket.

Thanx for the help i`ll move this topic to the General forum.