Welcome Guest, Not a member yet? Register   Sign In
Codeigniter - redirect
#1

[eluser]Unknown[/eluser]
hi there,


i face a problem when using redirect function.

What i want to do redirect if user successfully login.

if (!$userID) {
$this->session->set_flashdata('login_error', TRUE);
} else {

$this->session->set_userdata(array(
'logged_in' => TRUE,
'userID' => $userID,
'username' => $username));

redirect("welcome_page");
}


however,the new link is like that
<a href="http://www.ressim.net/i/5512048_painterror-png.html"><img src="http://img1.ressim.net/out.php/i5512048_painterror-png" alt="Ucretsiz Resim yukle ve Paylas" border="0" /></a>









Messages In This Thread
Codeigniter - redirect - by El Forum - 02-29-2012, 02:16 PM
Codeigniter - redirect - by El Forum - 02-29-2012, 02:22 PM
Codeigniter - redirect - by El Forum - 02-29-2012, 02:35 PM
Codeigniter - redirect - by El Forum - 02-29-2012, 03:42 PM
Codeigniter - redirect - by El Forum - 02-29-2012, 03:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB