首页 WordPress函数大全 addslashes_gpc()

addslashes_gpc()

2020-05-02 / 5384阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

addslashes_gpc( string $gpc )

添加斜杠以转义字符串。

描述

如果设置了magic_quotes_gpc,则将首先删除斜杠,有关更多详细信息,请参见https://www.php.net/magic_quotes。

参数

$gpc

(string)
(Required)
The string returned from HTTP request data.

返回

(string) Returns a string escaped with slashes.

大家谈论
    我的见解