Welcome Guest, Not a member yet? Register   Sign In
having trouble implimenting ion auth into my web application.
#5

[eluser]solid9[/eluser]
In your controller Pages, Index Method do this,

Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pages extends CI_Controller {

public $data = array();

public function index()
{
  $this->data['identity'] = $this->input->post('identity');
  $this->data['identity'] = $this->input->post('password');
  $this->load->view('index', $data);
}

or you can try like this,
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pages extends CI_Controller {

public $data = array();

public function index()
{
  $this->data['identity'] = '';
  $this->data['identity'] = '';
  $this->load->view('index', $data);
}

It's untested so just post if you encounter error.


Messages In This Thread
having trouble implimenting ion auth into my web application. - by El Forum - 07-26-2012, 09:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB