Home > Backend Development > PHP Tutorial > php 中常见有关问题及经验

php 中常见有关问题及经验

WBOY
Release: 2016-06-13 13:08:23
Original
879 people have browsed it

php 中常见问题及经验

在使用PHP生成TXT文件时,需要换行,换行中的\r\n不能将顺序换了,也不能放在单引号之中如下即可

$breakStr = "\r\n";???

?

?

=================? 在许多测试例子中使用到argv? ================

Notice: Undefined variable: argv in D:\work5\t\test.php on line 2


找到register_globals = Off
修改为register_globals = On

register_argc_argv = On

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