[eluser]Ludatha[/eluser]
Hey I am new to CI and I want to change my current site to use it.
I have downloaded the library SimpleLoginSecure and cannot seem to get it working.
This is my complete code.
Code:
<?php
class Profile extends Controller {
function index()
{
$this->load->library('SimpleLoginSecure');
$this->SimpleLoginSecure->Create('usernamehere', 'passwordhere');
}
}
?>
Errors:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Profile::$SimpleLoginSecure
Filename: controllers/profile.php
Line Number: 6
Fatal error: Call to a member function Create() on a non-object in D:\wamp3\www\php\system\application\controllers\profile.php on line 6
When things go wrong it is generally something obvious so I apologise if it is.
- Adam