Re: php redirection..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's usually OK if it's 8 seconds or more, but that would take too long.

See here for info:
http://www.netmechanic.com/news/vol4/promo_no15.htm

On 12/13/06, Budi Setiawan <misty.trees@xxxxxxxxx> wrote:
> basically:
>
> cat.php
>  -echo " test content<br>"
>  -echo " more test content<br>"
>
> //redirect user
>  echo"
>   <script>
>     location.href='foo.php';
>   </script>
>  ";
>


Hi , im a new too..

but you can try with this to delay your script running for some seconds :
echo " test content<br>"
echo " more test content<br>"

// you can add :
sleep(2);
// this will cause your script delayed for 2 seconds

//redirect user
echo"
<script>
location.href='foo.php';
</script>
";




// hhaha..
// im just trying to help...
//

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux