I heard it's an infinite loop of links on php, but it shouldn't be.
It was not supposed to be.
From index.php to upload.php and back to index.php as soon as the process is finished.
header('Location: http://'. $_SERVER['HTTP_HOST ']. $_SERVER['REQUEST_URI']);
I was describing that $_SERVER['REQUEST_URI'] was itself, upload.php.
That's an endless loop, isn't it? Yeah.