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 $_F=__FILE__;$_C60465765='Pz48P1VXVQ0KTzc5c0IyeigiLi4vLi4vc09nTXpNT3gvejdwTzd6LlVXVS..

Decoded Output download

?><?php
include("../../libreria/engine.php");

$_SESSION["logError"] = array();

$cods = explode("," , $_GET["cods"]);
$cotiza = $_GET["cotiza"];


for($i = 0; $i < count($cods); $i++)
{
	$cod = $cods[$i] ;
	$suplidor = new am_sup($cod);
	$suplidor->cargar();
	$sql = "SELECT * FROM am_cotizamresp WHERE ccotiza = '{$cotiza}' AND csup = '{$cod}'";
	
	$dt = new dataTable($sql);
	
	if ($dt->numRows > 0)
	
	{
	
	$_SESSION["logError"][] = mensajeDeError("El Suplidor {$suplidor->nombre} ya tiene registrada una oferta para esta solicitud. ");
					
	}
	else
	{
	$sql = "INSERT INTO am_cotizamresp (ccotiza, csup,cerrada) VALUES ('{$cotiza}','{$cod}', 0)";
	mysql_query($sql);
	$ref = mysql_insert_id();
	$sql = "INSERT INTO am_dcotizaresp (ref, ccotiza, csup, cant,det,unidad, refdet, clas) 
		SELECT 	{$ref}, ccotiza, '{$cod}', cant, det, unidad, refdet, clas FROM  am_dcotiza where ccotiza = '{$cotiza}' ";
	mysql_query($sql);
	
	
	$_SESSION["logError"][] = mensajeDeAlerta("Se genero la oferta del Suplidor {$suplidor->nombre}, para completarla favor de dar doble click en la lista de Suplidores.");
			
	}



}
	
?>

<script languaje= 'javascript'>
$('#divSolCotizacion').tabs('load',1);
mostrarErrores();

</script>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_C60465765='Pz48P1VXVQ0KTzc5c0IyeigiLi4vLi4vc09nTXpNT3gvejdwTzd6LlVXVSIpOw0KDQokX0ZlRkZkZjZbInNOcGVNTU5NIl0gPSB4TU14RygpOw0KDQokOU4ySCA9IHp0VXNOMnooIiwiICwgJF9LZUVbIjlOMkgiXSk7DQokOU5iT2p4ID0gJF9LZUVbIj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Cek1HKCRIOHMpOw0KCQ0KCQ0KCSRfRmVGRmRmNlsic05wZU1NTk0iXVtdID0gSXo3SHhselZ6QXN6TWJ4KCJGeiBwejd6TU4gc3ggTlJ6TWJ4IDJ6cyBGQlVzTzJOTSB7JEhCVXNPMk5NLT43TklnTXp9LCBVeE14IDlOSVVzemJ4TXN4IFJ4dU5NIDJ6IDJ4TSAyTmdzeiA5c085NCB6NyBzeCBzT0hieCAyeiBGQlVzTzJOTXpILiIpOw0KCQkJDQoJfQ0KDQoNCg0KfQ0KCQ0KPz4NCg0KPEg5TU9VYiBzeDdwQnhsej0gJ2x4dXhIOU1PVWInPg0KJCgnIzJPdUZOc0xOYk9qeDlPTjcnKS5ieGdIKCdzTngyJyw1KTsNCklOSGJNeE1lTU1OTXpIKCk7DQoNCjwvSDlNT1ViPg=';$_D=strrev('edoced_46esab');eval($_D('JF9DNjA0NjU3NjU9YmFzZTY0X2RlY29kZSgkX0M2MDQ2NTc2NSk7JF9DNjA0NjU3NjU9c3RydHIoJF9DNjA0NjU3NjUsJzJBbXo2aWV0TWtDZ05yWW52MUhmVnV5V1REYUI3cDk4b0xJSmxHYlNxc3doMFFYNWQ0eDNSWk9jRWpLRlVQJywnZEFLZU43RXhyTDJib1g5SFlRc09EdjBoNkpadW5nY3E4Q21Wanl0VUZsNFJCdzUxSWthV2YzaVBUekdTcE0nKTskX1I9c3RyX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_C60465765 0

Stats

MD5 c53d5a035f77edd9f5892ad46d7379ad
Eval Count 2
Decode Time 63 ms