07-18-2011, 02:18 AM
[eluser]Unknown[/eluser]
My code looks like so
when i key in "http://localhost/awesome_site/index.php/awesome/test_string" on my browser, it returns '404 Object Not Found'. Please help
My code looks like so
Code:
class Awesome extends CI_Controller
{
function test_string()
{
$param = urlencode("GgkyUW3k0FfQUEYLumqVsQs/vQ2gtoigdsvRpOqFO+oUwIqBCsudaFBJew+FWSIBI6XnPP6sfwxo3rlb6p8TTQ==");
redirect("awesome/test_pass_string/".$param);
}
function test_pass_string($param)
{
echo $param;
}
}
when i key in "http://localhost/awesome_site/index.php/awesome/test_string" on my browser, it returns '404 Object Not Found'. Please help