从服务器下载文件时出现标题错误 [英] Header error when downloading file from server

查看:100
本文介绍了从服务器下载文件时出现标题错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

警告:无法修改标头信息 - 已在C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第40行上的\\ get_file.php


警告:无法修改标头信息 - 已经发送的标头(输出从C:\ xampp \htdocs \ Inovasi \get_file.php开始:2)在第41行的C:\ xampp\htdocs\Inovasi\get_file.php


警告:无法修改标题信息 - 已经发送的标题(输出开始于C:\ xampp\htdocs\Inovasi\get_file.php:2)在第42行的C:\ xampp \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ?à±A�����������&# 65533;����>��吨? �����������&#65533 ;? ��� V���������& #65533; Y������ T 380���� U&# 65533;�&#65533 ;? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ???????????????????????????????ì¥A�? ?�� ???������ 0���&# 65533;�?��·��?� bjbj?ú?ú����& #65533;�����������&#65533 ;� ??� 4R�� ???� ???�·?



当我尝试下载文件,出现上述错误。我尝试修复它但仍然有错误。可以帮助我...

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Inovasi\get_file.php:2) in C:\xampp\htdocs\Inovasi\get_file.php on line 40

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Inovasi\get_file.php:2) in C:\xampp\htdocs\Inovasi\get_file.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\Inovasi\get_file.php:2) in C:\xampp\htdocs\Inovasi\get_file.php on line 42
D?à?±á����������������>��t? ���������������V����������Y������t???����U���? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ?????????????????????????????????????????????????? ???????????????????????????????ì¥á�[? ��??������0�������· ���bjbj?ú?ú������������������ �4R��??�??�·


when I try to download the file, the above errors occur.I try to fix it but still got errors.Can you please help me...

推荐答案

这篇文章与Atli分开发表在上传到MySQL的帖子数据库。


让我们对文件造成问题。您已经通过这种或那种方式将输出发送到浏览器,而且,您不能这样做。


- 标记
This post was separated from Atli''s post on Uploading to a MySQL database.

Let''s have a gander at the file causing the issue. You have sent output to the browser, through one way or another, and, well, you cannot do this.

- mark


感谢解释..

但是,我现在该怎么办?

有什么建议吗?
thanks for the explaination..
but, what should i do now??
is there any suggestion??


@ririe


就像我之前说的那样:发布导致错误的文件的源代码。我们不是通灵者,所以该文件会有所帮助。
@ririe
Like I said previously: post the sourcecode of the file that is causing the error. We are not psychic, so it would help to see the file.


这篇关于从服务器下载文件时出现标题错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆