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__;$_C816270277='Pz48P2hSaA0KYTgwM1BWTTAgVjJfSU5WMlBfMjhoaFVWSWcoJFBWUFVJK..
Decoded Output download
?><?php
function is_exist_supplier($title){
if(strlen($title)>0){
$q="select supplier_name from supplier where (supplier_name = '".$title."')";
$qr=mysql_query($q);
$total=mysql_num_rows($qr);
if($total<=0){
return "N";
}else{
return "Y";
}
}else{
return "Y";
}
}
function get_supplier_rowid($title){
$return_val = -1;
$q="select rowid from supplier where (supplier_name = '".$title."')";
$qr=mysql_query($q);
$total=mysql_num_rows($qr);
if($total==1){
$row=mysql_fetch_array($qr);
$return_val = $row["rowid"];
}
return $return_val;
}
function edit_supplier($rowid, $title, $dsc, $now, $usrrowid){
$return_val = "";
$sql = "update supplier set supplier_name='$title', description='$dsc', updated='$now', updated_by=$usrrowid where rowid = $rowid";
$result1 = mysql_query($sql);
if($result1){
$return_val = "Y";
}else{
$return_val = "#DEBUG: ".mysql_error();
}
return $return_val;
}
function supplier_form_select($rowid,$lang,$nameid,$js_fn){
$return_val = "<select class=\"input-xlarge\" name=\"$nameid\" id=\"$nameid\" onchange=\"$js_fn\"><option value=\"\">$lang</option>";
$q="select rowid,supplier_name from supplier ORDER BY supplier_name ";
$qr=mysql_query($q);
$total=mysql_num_rows($qr);
while($row=mysql_fetch_array($qr)){
$temp = $row["rowid"];
if($temp == $rowid){
$return_val .= "<option value=\"".$temp."\" selected>".$row["supplier_name"]."</option>";
}else{
$return_val .= "<option value=\"".$temp."\">".$row["supplier_name"]."</option>";
}
}
$return_val .= "</select>";
return $return_val;
}
?>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_C816270277='Pz48P2hSaA0KYTgwM1BWTTAgVjJfSU5WMlBfMjhoaFVWSWcoJFBWUFVJKXsNCglWYSgyUGdVSTAoJFBWUFVJKT5UKXsNCgkJJGI9IjJJVUkzUCAyOGhoVVZJZ18wa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