I have a php script that outputs a confirmation text and redirects using header to a certain page after i log in. The script is working fine on mozilla and internet explorer but fails to redirect me on chrome and opera without showing any warnings or errors (even though i enabled them in php ini). I also tried a simple redirect like this:
<?php
header("refresh:2 url=http://localhost/KKK/home.php");
?>
It works on mozilla and ie but fails on the other two. Redirecting using only location without refresh is working on all of them. What is the problem? Thanks in advance.