redirect problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: redirect problem (/showthread.php?tid=59499) |
redirect problem - El Forum - 10-12-2013 [eluser]huangxiao[/eluser] Hi can i ask why is it when i am using Quote:redirect()the URL will be like this Quote:http://localhost/test/index.php/login/localhost/test/index.php/success/members_areacan you help me please why this happen and i always get "404 page not found" Thank you in advance. here is my code login_view.php Code: <form class="login" acti method='post'> login.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); success.php Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |