validation problem in server system

#1
[eluser]MASS MASS[/eluser]
I am getting validation problem in server system........ in localhost its working fine .....
Example : login page

in controller i wrote
function login()

{

$rules['email'] = "trim|required|xss_clean";
$rules['password'] = "trim|required|xss_clean";
$this->validation->set_rules($rules);

$fields['email'] = 'E-mail';
$fields['password'] = 'Password';
$this->validation->set_fields($fields);

if ($this->validation->run() == FALSE)
{

$this->load->view('users/login',$arr_data);

}

else
{
echo sucess......;

}

}

from above function its always going to if condition ..... but its working fine in localsystem........

Please help........ its urgent


Messages In This Thread
validation problem in server system - by El Forum - 04-01-2008, 07:18 AM
validation problem in server system - by El Forum - 04-01-2008, 07:33 AM
validation problem in server system - by El Forum - 04-01-2008, 07:39 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.