Home > Backend Development > PHP Tutorial > php 点击链接下载图片 不是显示

php 点击链接下载图片 不是显示

WBOY
Release: 2016-06-06 20:30:43
Original
1006 people have browsed it

php 点击链接下载图片 不是显示 弄了会下载的图片都打不开

回复内容:

php 点击链接下载图片 不是显示 弄了会下载的图片都打不开

下载估计要写header()吧。我觉得应该是这个思路。

修改header,跟下载文件同一个套路,手册翻一下。

有两个方式一个是xsendfile 一个是header

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template