malformed header from script. Bad header=1: index.php

后端 未结 4 1029
醉梦人生
醉梦人生 2021-01-18 20:22

I have a website which is a few years old now, it basically offers downloads.

Anyway since moving server people can not download files because its now giving a error

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-18 20:58

    Based on what you said, the problem is because there is something you said to echo before you wrote the code to download. To overcome this problem you should write the code so as the echo should be written after the download code at the time the download should be get performed.

    It may not always an echo, it may be some HTML tags instead of it.

    Download should be the first thing to be run in any page if you want to download something from that page to clients' system.

提交回复
热议问题