本文整理汇总了PHP中undo_magic_quotes_gpc函数的典型用法代码示例。如果您正苦于以下问题:PHP undo_magic_quotes_gpc函数的具体用法?PHP undo_magic_quotes_gpc怎么用?PHP undo_magic_quotes_gpc使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了undo_magic_quotes_gpc函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: undo_magic_quotes_gpc
function undo_magic_quotes_gpc(&$array)
{
foreach ($array as &$value) {
if (is_array($value)) {
undo_magic_quotes_gpc($value);
}
}
}
示例2: undo_magic_quotes_gpc
function undo_magic_quotes_gpc(&$array)
{
foreach ($array as &$value) {
if (is_array($value)) {
undo_magic_quotes_gpc($value);
} else {
$value = stripslashes($value);
}
}
}
示例3: undo_magic_quotes_gpc
require_once "poi.class.php";
/** Response class */
require_once "layarresponse.class.php";
/** POIConnector interface */
require_once "poiconnector.interface.php";
/** POI connector abstract class */
require_once "poiconnector.class.php";
/** Base POIConnectors */
require_once "sqlpoiconnector.class.php";
require_once "xmlpoiconnector.class.php";
/** Web API and Web App */
require_once "web-app.class.php";
require_once "webapipoiconnector.class.php";
/** Layer definition */
require_once "layer.class.php";
/** Filter class for filter values */
require_once "filter.class.php";
/** server and server factory */
require_once "poiserver.class.php";
/** configuration */
require_once "porpoiseconfig.class.php";
/** web-app abstract class */
require_once "web-app.class.php";
/** OAuth aware HTTP client */
require_once "httprequest.class.php";
/** User persistence classes */
require_once "user.class.php";
/* KILL magic quotes */
undo_magic_quotes_gpc();
/* change to config directory for remainder of execution */
chdir(PORPOISE_CONFIG_PATH);