Advertisement
Guest User

Untitled

a guest
Jun 8th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Loader)
  6. *
  7. * @ Version : 2.0.0.3
  8. * @ Author : DeZender
  9. * @ Release on : 06.05.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function FFLUX_SendRequest($spfb9dbc, $sp14e368 = FFLUX_API_URL) {
  15. $sp221522 = "";
  16. foreach ($spfb9dbc as $sp545970 => $sp956ca5) {
  17. $spfb9dbc[$sp545970] = rawurlencode($sp956ca5);
  18. }
  19. if (!(is_array($spfb9dbc))) {
  20. $sp221522 = FFLUX_BuildResponse(FFLUX_RESULTCODE_WRONG_PARAMETERS, "FFLUX_SendRequest(): Missing parameters");
  21. }
  22. else {
  23. $sp1e5734 = FFLUX_MAX_CURL_RETRIES;
  24. while (0 < $sp1e5734) {
  25. $spaa22cf = curl_init();
  26. curl_setopt($spaa22cf, CURLOPT_URL, $sp14e368);
  27. curl_setopt($spaa22cf, CURLOPT_POST, 1);
  28. curl_setopt($spaa22cf, CURLOPT_POSTFIELDS, $spfb9dbc);
  29. curl_setopt($spaa22cf, CURLOPT_RETURNTRANSFER, 1);
  30. curl_setopt($spaa22cf, CURLOPT_TIMEOUT, FFLUX_MAXTIME_TIMEOUT_DEFAULT);
  31. $sp221522 = curl_exec($spaa22cf);
  32. $spf4ac8d = curl_getinfo($spaa22cf);
  33. if ($sp221522 === false || $spf4ac8d["http_code"] != 200) {
  34. --$sp1e5734;
  35. if ($sp1e5734 == 0) {
  36. $spf782ea = "CURL Error [" . $spf4ac8d["http_code"] . "] : " . curl_error($spaa22cf);
  37. $sp221522 = FFLUX_BuildResponse(FFLUX_RESULTCODE_COMMUNICATION_ERROR, $spf782ea);
  38. }
  39. }
  40. else {
  41. $sp1e5734 = 0;
  42. }
  43. curl_close($spaa22cf);
  44. continue;
  45. }
  46. }
  47. return $sp221522;
  48. }
  49.  
  50. function FFLUX_BuildResponse($spab15b5, $sp2c999a, $sp9e6806 = null) {
  51. $sp0dec51[FFLUX_JSONRESULT_RESULT_CODE] = $spab15b5;
  52. $sp0dec51[FFLUX_JSONRESULT_RESULT_STRING] = $sp2c999a;
  53. if (is_array($sp9e6806)) {
  54. ...........................................................
  55. .........................
  56. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement