Hi..
I have a blog and one day I post a redirect page tutorial with php script within it. I saw that tutorial from a web and I want to post it to my blog too..
here is the script :
<?php
function redirect($url) {
if (!headers_sent()) {
header("Location: " . $url);
} else {
echo('<script>window.location = ' . $url . '</script>');
}
}
?>
But, when I visit my blog, blogger said that the blog is not recognized. And on the address bar appeared "http://myblog.blogspot.com/ . $url ."
It looks that the redirect script run without parameter..
Why can it happen?!?