Home > Backend Development > PHP Tutorial > php?开始标签

php?开始标签

WBOY
Release: 2016-06-23 13:27:46
Original
951 people have browsed it

代码一:<?php........?>代码二:        <?php     (多个空格)........?>我把代码一写成代码二,项目可以正常运行,但是图片上传,点玩后却没有效果,这是为什么?
Copy after login


回复讨论(解决方案)

空格不属于图片数据

空格不属于图片数据



什么意思呢?

开启php错误级别看下
error_reporting(E_ALL);

空格不属于图片,你只要加&npsp

代码都没看到,不好判断。
自己调试时打开错误提示功能看看

Related labels:
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