|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 62 ||All time: 9,826 This week: 261|
This class can authenticate users of a Joomla installation.
It can send a HTTP request to a script in a Joomla installation that verifies if the password is valid of a given user.
The script hab-joomla-login.php is provided by this package and must be installed in the target Joomla installation.
Prize: One downloadable copy of CodeLobster Professional
|Joomla is a popular content management system. Joomla has its own user account system.
This package can be used to authenticate users with login and password in a remote Joomla installation.
It sends a HTTP request to a script in this package to be installed in the remote Joomla site and it verifies if the given user login and password are correct.
This way you can implement Web applications with an existing user system from a given Joomla site you control.
Joomla Login functionality for external sources.
Copy files from
joomla-site directory to the root of your Joomla website.
Copy files from
other-site directory to where you want to access this API from.
How To Use
Send POST params
pass to hab-joomla-login.php located inside
joomla-site. And it will return user data like json_encoded: username, name, email etc.
To use script inside
other-site. Simply include the HabJoomlaLogin.php, to your code and call the
HabJoomlaLogin class. here is an example:
//Login Data username and password
$data = [
"user" => "user123";
"pass" => "pass123";
//Path to the hab-joomla-login.php located on the server with Joomla installation.
$pathJoomla = "path/to/hab-joomla-login.php";
//Contains the array with user information
$login = HabJoomlaLogin::doLogin($data, $pathJoomla);
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.