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

Signing you up...

Thank you for signing up!

PHP Decode

<?php $_cdab23317a55 = isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER[..

Decoded Output download

<?php 
 $_cdab23317a55 = isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'; if(!$_cdab23317a55) { header($_SERVER['SERVER_PROTOCOL'] . ' 500 Python - SyntaxError: invalid syntax, visit pipiscrew.com', true, 500); exit; } if (!isset($_POST["feed_url"]) || !isset($_POST["feed_id"]) || !isset($_POST["feed_type"])) { echo json_encode(3); exit; } include_once('config.php');$_0f4c09b2d322 = connect();$_78f6bcc7ec99 = "0";if (isset($_POST["feed_enabled"])){$_78f6bcc7ec99 = $_POST["feed_enabled"];if ($_78f6bcc7ec99=="on" || $_78f6bcc7ec99=="1")$_78f6bcc7ec99="1";else $_78f6bcc7ec99="0";}$_6cbd9c004ffd = $_POST["feed_id"];if ($_6cbd9c004ffd==0) { $_c4c1a94f46b9 = "INSERT INTO feeds (feed_url, feed_type, feed_enabled) VALUES (:feed_url, :feed_type, :feed_enabled)"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9);} elseif (isset($_POST['del']) && $_POST['del']==1){ $_c4c1a94f46b9 = "DELETE from feeds where feed_id=:feed_id and feed_url=:feed_url and feed_type=:feed_type and feed_enabled=:feed_enabled"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9); $_adfcda2781d4->bindValue(':feed_id' , $_6cbd9c004ffd);} else { $_c4c1a94f46b9 = "UPDATE feeds set feed_url=:feed_url, feed_enabled=:feed_enabled, feed_type=:feed_type where feed_id=:feed_id"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9); $_adfcda2781d4->bindValue(':feed_id' , $_6cbd9c004ffd);} $_adfcda2781d4->bindValue(':feed_url' , $_POST['feed_url']); $_adfcda2781d4->bindValue(':feed_type' , $_POST['feed_type']); $_adfcda2781d4->bindValue(':feed_enabled' , $_78f6bcc7ec99); $_adfcda2781d4->execute(); $_8c642ca2c707 = $_adfcda2781d4->rowCount(); if($_8c642ca2c707 == 1) echo json_encode(100); else echo json_encode(0);?>

Did this file decode correctly?

Original Code

<?php
 $_cdab23317a55 = isset($_SERVER['HTTP_X_REQUESTED_WITH']) AND strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'; if(!$_cdab23317a55) { header($_SERVER['SERVER_PROTOCOL'] . ' 500 Python - SyntaxError: invalid syntax, visit pipiscrew.com', true, 500); exit; } if (!isset($_POST["feed_url"]) || !isset($_POST["feed_id"]) || !isset($_POST["feed_type"])) { echo json_encode(3); exit; } include_once('config.php');$_0f4c09b2d322 = connect();$_78f6bcc7ec99 = "0";if (isset($_POST["feed_enabled"])){$_78f6bcc7ec99 = $_POST["feed_enabled"];if ($_78f6bcc7ec99=="on" || $_78f6bcc7ec99=="1")$_78f6bcc7ec99="1";else $_78f6bcc7ec99="0";}$_6cbd9c004ffd = $_POST["feed_id"];if ($_6cbd9c004ffd==0) { $_c4c1a94f46b9 = "INSERT INTO feeds (feed_url, feed_type, feed_enabled) VALUES (:feed_url, :feed_type, :feed_enabled)"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9);} elseif (isset($_POST['del']) && $_POST['del']==1){ $_c4c1a94f46b9 = "DELETE from feeds where feed_id=:feed_id and feed_url=:feed_url and feed_type=:feed_type and feed_enabled=:feed_enabled"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9); $_adfcda2781d4->bindValue(':feed_id' , $_6cbd9c004ffd);} else { $_c4c1a94f46b9 = "UPDATE feeds set feed_url=:feed_url, feed_enabled=:feed_enabled, feed_type=:feed_type where feed_id=:feed_id"; $_adfcda2781d4 = $_0f4c09b2d322->prepare($_c4c1a94f46b9); $_adfcda2781d4->bindValue(':feed_id' , $_6cbd9c004ffd);} $_adfcda2781d4->bindValue(':feed_url' , $_POST['feed_url']); $_adfcda2781d4->bindValue(':feed_type' , $_POST['feed_type']); $_adfcda2781d4->bindValue(':feed_enabled' , $_78f6bcc7ec99); $_adfcda2781d4->execute(); $_8c642ca2c707 = $_adfcda2781d4->rowCount(); if($_8c642ca2c707 == 1) echo json_encode(100); else echo json_encode(0);?>

Function Calls

strtolower 1

Variables

$_cdab23317a55 False

Stats

MD5 3c2c9bc08ef601f5e3b32e36acb80a9c
Eval Count 0
Decode Time 116 ms