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

php 中常见有关问题及经验

WBOY
WBOYOriginal
2016-06-13 10:56:08827browse

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

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