"headers already send by"

removing a newline at the end of file. also I removed ?>, to avoid such things happen in future