Re: [Astlinux-users] PHP and AstDB

2008-04-10 Thread Tom Lynn
I did this via the manager interface. $man_name = "managername"; $man_pword = "secret"; $socket = fsockopen("127.0.0.1","5038", $errno, $errstr, $timeout); // open a connection to the manager interface fputs($socket, "Action: Login\r\n");// login fputs($s

[Astlinux-users] PHP and AstDB

2008-04-10 Thread Jaime Blaney
Hi, I'm trying to get access to the Asterisk Database from a web interface using php, however I do not want to use the system function for it, my question is: Do I need to recompile php to configure it for have access to database? How do I do that? Regards, Jaime __