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.
精彩评论