Flushing the output buffer doesn’t works in PHP sometimes no matter what you do. I had this code which would never work on my server but would perfectly fine on localhost. This was the code.
<?php
include('common.php');
ini_set('output_buffering','on');
ini_set('zlib.output_compression', 0);
//ini_set('implicit_flush',1);
ob_implicit_flush();
for($i=0;$i<10;$i++) {
echo $i;
echo str_repeat(" ", 500);
ob_flush();
flush();
sleep(1);
}
?>
Read the rest of this entry »
Just bought www.insanelyme.com for my blog. As I consider myself insane (most of you will agree with that), I found this name suitable for my blog. I bought it in the same instant when I saw it was available.
I added the domain in cPanel as addon domain but unfortunately it didn’t support second level directory (example.com/tech/blog). So I copied all the files from the directory and pasted it in a directory on top level. I pointed the domain to it and it worked. I changed the Blog URL in admin panel and it worked.
Now, there was this problem of redirection. Read the rest of this entry »
After buying new domain http://www.techmindz.com, my older domain was still accessible. I had completely abandoned its usage, but two days ago, I visited it just to check and was amazed to see its page rank had gone to 2. I was shocked and spellbound. I admit that I had done some intense SEO myself, for it. But still I hadn’t expected its page rank to go up in such a short span.
Read the rest of this entry »