开发者

Creating Joomla Accounts outside of a web interface

Is it possible to create a Joomla account outside the web interface. I want to create one from my Java application. 开发者_如何学运维If so can you give me an idea about the best way to do this?

These are my thoughts so far:

1. Create a php page that inserts the data directly into the database (but is there more to an account than simply the users table).

2. Posting the data to the register page (but will it then detect that I am not using the web interface)


Yes, it's possible. You can:

  • Use php to achieve it, inheriting from JUser class like explained in this thread;
  • Create a component using JUser in you Joomla installation, and use xml-rpc to register users using this component by calling a service from you Java application.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜