views:

54

answers:

1

I need to create for my blog in PHP, a chat like facebook-chat in erlang.

But I don't know how to share the username+password between APACHE and Ejabberd.

How do I do this ?

A: 

Store the username and password in a Mysql Database. PHP can access Mysql easily. I don't know much about Ejabbert, but from this article here it looks like you can access Mysql from Ejabbert. Good luck.

Hannes de Jager