Home > Backend Development > PHP Tutorial > PHP中 转义的相关问题?

PHP中 转义的相关问题?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:44:40
Original
1138 people have browsed it

表单中提交内容: 

<code>echo $_GET['data'];  ---输出为\\\
</code>
Copy after login
Copy after login

php中直接

<code>echo 'ss\\\周ss'; ---结果输出为:ss\\周ss
</code>
Copy after login
Copy after login

请问$_GET 中是怎么处理的?

回复内容:

表单中提交内容: 

<code>echo $_GET['data'];  ---输出为\\\
</code>
Copy after login
Copy after login

php中直接

<code>echo 'ss\\\周ss'; ---结果输出为:ss\\周ss
</code>
Copy after login
Copy after login

请问$_GET 中是怎么处理的?

http://segmentfault.com/q/1010000000597841 楼主看这个

Related labels:
php
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template