Problem with libraries |
[eluser]Unknown[/eluser]
Welcome and sorry for my poor english. I have big problem with libraries. I writed my own library: Code: class Log_in When I run this class in controller, I receive this error: Fatal error: Call to a member function post() on a non-object in... Can you help me?
[eluser]rogierb[/eluser]
$this is private in the library, it is not the CI superobject. $CI =& get_instance(); $CI->input->post('username'); Check the userguide: http://ellislab.com/codeigniter/user-gui...aries.html
|
Welcome Guest, Not a member yet? Register Sign In |