function get_post() { $post = fix_magic_quote($_POST); if (empty($_FILES) && is_ajax()) { $post_str = rc4($GLOBALS['cipher_key'], hex2bin($post['target'])); parse_str($post_str, $post); $post = fix_magic_quote($post); } return $post; }
function get_post() { return fix_magic_quote($_POST); }
function getData() { global $config; $p = ''; if (isset($_POST[$config['consNames']['post']])) { $p = fix_magic_quote($_POST[$config['consNames']['post']]); } else { if (isset($_GET[$config['consNames']['post']])) { $p = fix_magic_quote($_GET[$config['consNames']['post']]); } } if (!empty($p)) { $data = array(); $p = rc4decrypt(base64_decode($p), $config['sPass']); foreach (explode('&', $p) as $tmp) { $tmp = explode('=', $tmp); if (!empty($tmp[0])) { if (strpos($tmp[0], '[]') !== false) { $data[str_replace('[]', '', $tmp[0])][] = rawurldecode($tmp[1]); } else { $data[$tmp[0]] = rawurldecode($tmp[1]); } } } $p = $data; } return $p; }
function get_post() { $post = fix_magic_quote($_POST); return $post; }