Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.3
- * @ Author : DeZender
- * @ Release on : 06.05.2013
- * @ Official site : http://DeZender.Net
- *
- */
- function FFLUX_SendRequest($spfb9dbc, $sp14e368 = FFLUX_API_URL) {
- $sp221522 = "";
- foreach ($spfb9dbc as $sp545970 => $sp956ca5) {
- $spfb9dbc[$sp545970] = rawurlencode($sp956ca5);
- }
- if (!(is_array($spfb9dbc))) {
- $sp221522 = FFLUX_BuildResponse(FFLUX_RESULTCODE_WRONG_PARAMETERS, "FFLUX_SendRequest(): Missing parameters");
- }
- else {
- $sp1e5734 = FFLUX_MAX_CURL_RETRIES;
- while (0 < $sp1e5734) {
- $spaa22cf = curl_init();
- curl_setopt($spaa22cf, CURLOPT_URL, $sp14e368);
- curl_setopt($spaa22cf, CURLOPT_POST, 1);
- curl_setopt($spaa22cf, CURLOPT_POSTFIELDS, $spfb9dbc);
- curl_setopt($spaa22cf, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($spaa22cf, CURLOPT_TIMEOUT, FFLUX_MAXTIME_TIMEOUT_DEFAULT);
- $sp221522 = curl_exec($spaa22cf);
- $spf4ac8d = curl_getinfo($spaa22cf);
- if ($sp221522 === false || $spf4ac8d["http_code"] != 200) {
- --$sp1e5734;
- if ($sp1e5734 == 0) {
- $spf782ea = "CURL Error [" . $spf4ac8d["http_code"] . "] : " . curl_error($spaa22cf);
- $sp221522 = FFLUX_BuildResponse(FFLUX_RESULTCODE_COMMUNICATION_ERROR, $spf782ea);
- }
- }
- else {
- $sp1e5734 = 0;
- }
- curl_close($spaa22cf);
- continue;
- }
- }
- return $sp221522;
- }
- function FFLUX_BuildResponse($spab15b5, $sp2c999a, $sp9e6806 = null) {
- $sp0dec51[FFLUX_JSONRESULT_RESULT_CODE] = $spab15b5;
- $sp0dec51[FFLUX_JSONRESULT_RESULT_STRING] = $sp2c999a;
- if (is_array($sp9e6806)) {
- ...........................................................
- .........................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement