Look if you have a \n somewhere:
echo "Content-Type: text/html\n\n"
Substitute it with:
echo "Content-Type: text/html"
echo ""
echo ""
Here is what i forgot.
Look if you have a \n somewhere:
echo "Content-Type: text/html\n\n"
Substitute it with:
echo "Content-Type: text/html"
echo ""
echo ""