php?开始标签

WBOY
WBOYOriginal
2016-06-23 13:27:46940browse

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


回复讨论(解决方案)

空格不属于图片数据

空格不属于图片数据



什么意思呢?

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

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

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

Statement:
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
Previous article:thinkphp 3.1 参数处理问题Next article:smarty?SQL