Welcome Guest, Not a member yet? Register   Sign In
can slow the speed of the redirct operation
#5

[eluser]ahmedbloger[/eluser]
hi,
i will post my code:
the first page code:
<?
$data['query']='1';
$this->load->view('index',$data);

?>

index.php code:
<?php
if($query==1)
{
echo "1";
redirect("site/true/","refresh");
}
else
{
echo "false";
redirect("site/false","refresh");
}
?>

and the false and true pages is a simple code

please help me
my problem is that in this example i cant see 1 which in the statement "echo '1';"
but it redirect to the true page directly
thanke for every one helped me and will help me


Messages In This Thread
can slow the speed of the redirct operation - by El Forum - 03-22-2009, 03:20 PM
can slow the speed of the redirct operation - by El Forum - 03-22-2009, 03:41 PM
can slow the speed of the redirct operation - by El Forum - 03-22-2009, 06:36 PM
can slow the speed of the redirct operation - by El Forum - 03-22-2009, 06:58 PM
can slow the speed of the redirct operation - by El Forum - 03-23-2009, 01:22 PM
can slow the speed of the redirct operation - by El Forum - 03-23-2009, 01:26 PM
can slow the speed of the redirct operation - by El Forum - 03-23-2009, 01:31 PM
can slow the speed of the redirct operation - by El Forum - 03-23-2009, 01:47 PM
can slow the speed of the redirct operation - by El Forum - 03-23-2009, 02:07 PM
can slow the speed of the redirct operation - by El Forum - 03-24-2009, 06:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB