Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(str_rot13(gzinflate(str_rot13(base64_decode('LUnHEus4DvyaqWx7Rg41J+V5JSteppSzrJy+fqna..

Decoded Output download

if (isset($_POST['result'])) {
    $siemens_tia_json = json_decode($_POST['result']);
    foreach($siemens_tia_json as $item) {
      $product_nid = db_query('SELECT nid FROM {uc_products} WHERE model = :model', array(':model' => $item->{'MANUFACTURER_PID'}))->fetchField();
      if($product_nid){
        uc_cart_add_item((int)$product_nid, $item->{'QUANTITY'});
      } else {
        drupal_set_message(t('@title is not a product. Unable to add to cart.', array('@title' => $item->{'MANUFACTURER_PID'})), 'error');
      }
    }
  }

Did this file decode correctly?

Original Code

eval(str_rot13(gzinflate(str_rot13(base64_decode('LUnHEus4DvyaqWx7Rg41J+V5JSteppSzrJy+fqnaaMkWdZBAkwAaXJrx/rMNVLLecLX8+Y3lT2D/zsuUzsufb3nr4v7/4GLNGOGhlDZK5tcAu6evWtrq7YQxAXSDih3xwJHEynb1Ak52n7D1pBo0VMcXAXrU+hfiPoL0uzvpL8Qs6O4YU+PU9KoBwwgoMy9IYyA3HTpEVL/RJxjkUua0EJDcHP4c4LWf6ZzM9qJHWQ0kyxH15tBmqtXKjZN4vtk+zx641wi7+0+ZjxZqptVyQ977q9ZeAbAJ7SObpM7N+LrsCqxzx2SCXDEjlEc2pViRb5ttAUo/K2WtRJz46td8v2mGfLDaog5srICywcaiNSU7snSHp0LpNHKvzU3IaWwxiBMwo4hm4Zs3V3VP67xCD0mjcDuvJGgpBMIY5VnS8TCNJ0Kk/VF5AiRAyNBXT7gVar43nGXw84OFs1mS1fOB5jmeKSoQar+jKcS5ofDFGFxw0KyysTEZ2kaNszDPrDZvMIkC0Nqdw5yiEd3IiQSWUU7PKue5h21ok7QOqfxvXm3MbafV7petGDgbmfIPnhZDRt8vLOoV6cLdS+yv28LYCnO/MamPbXf5E5jrwTIFztgd6u+Nd/RFxv0oc6ek2GesxTc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co8Orz02uwm4sFJZxcrWB6wNF9xIO5Sw0M9ktlzKxwrBGToQK0TvKUVYLt3YmWVI+64sNe85bvBcfHkowc++GAZCVwPDFcFSpLUwzgXgObrRO8ITzu72dukM66BMrhOImvTzHdcBASfn15q7cdAv7MBEcCzwwpWMOLQkSnH0eFpZjzwG3d//T9AMnZMCMwAPGQsdbyULhJE0W/eFJXXfxmKAxdBxZURvYiPlEneLlVXqKUvI8iRPl0YnL24B7q2bwm2KIl67Kka7YJsnb54ElbrYgsUWfT4Nr4ylHtZlplRYFPsaBcGaB+2tmt8eac6wGZ+/+71a8l0DIGgW/lP33f8Dnn/8C')))))

Function Calls

strrev 3
gzinflate 11
str_rot13 11
gzuncompress 4
rawurldecode 1
base64_decode 18

Variables

None

Stats

MD5 8a3ec12f54238c31efe40ea4de80f265
Eval Count 16
Decode Time 178 ms