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 ${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x62\x68\x75te\x67\x7a\x6b\x66"]="\x63\x6ca\x73\..

Decoded Output download

<?php ${"GLOBALS"}["pbhutegzkf"]="className";${"GLOBALS"}["lubfnhckunw"]="criteria";class ProductImage extends CActiveRecord{public function tableName(){return"product_image";}public function rules(){return array(array("ProductId, ImageId","required"),array("ProductId, ImageId","numerical","integerOnly"=>true),array("ProductId, ImageId","safe","on"=>"search"),);}public function relations(){return array();}public function attributeLabels(){return array("ProductId"=>"Product","ImageId"=>"Image",);}public function search(){$lpcwdx="criteria";${${"GLOBALS"}["lubfnhckunw"]}=new CDbCriteria;$criteria->compare("ProductId",$this->ProductId);$criteria->compare("ImageId",$this->ImageId);return new CActiveDataProvider($this,array("criteria"=>${$lpcwdx},));}public static function model($className=__CLASS__){return parent::model(${${"GLOBALS"}["pbhutegzkf"]});}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x62\x68\x75te\x67\x7a\x6b\x66"]="\x63\x6ca\x73\x73\x4ea\x6de";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x75b\x66\x6eh\x63\x6bun\x77"]="cr\x69t\x65r\x69a";class ProductImage extends CActiveRecord{public function tableName(){return"pr\x6f\x64\x75c\x74_i\x6d\x61\x67e";}public function rules(){return array(array("\x50\x72\x6f\x64\x75c\x74\x49\x64, Im\x61geI\x64","re\x71\x75\x69r\x65\x64"),array("\x50\x72\x6f\x64\x75ct\x49d, \x49mag\x65I\x64","\x6e\x75\x6deri\x63a\x6c","\x69\x6eteg\x65\x72On\x6c\x79"=>true),array("\x50\x72od\x75\x63tId,\x20Im\x61\x67\x65I\x64","sa\x66\x65","on"=>"search"),);}public function relations(){return array();}public function attributeLabels(){return array("\x50\x72o\x64\x75ctId"=>"P\x72od\x75\x63\x74","Im\x61g\x65I\x64"=>"I\x6da\x67e",);}public function search(){$lpcwdx="\x63\x72\x69\x74\x65\x72ia";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x75\x62\x66n\x68\x63\x6bu\x6e\x77"]}=new CDbCriteria;$criteria->compare("P\x72od\x75ctId",$this->ProductId);$criteria->compare("\x49\x6da\x67\x65\x49\x64",$this->ImageId);return new CActiveDataProvider($this,array("\x63\x72it\x65\x72\x69a"=>${$lpcwdx},));}public static function model($className=__CLASS__){return parent::model(${${"GLO\x42A\x4c\x53"}["\x70\x62\x68ute\x67\x7a\x6b\x66"]});}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'pbhutegzkf', 'value': 'className'}, {'key': 'lubfnhckunw', 'value': 'criteria'}]

Stats

MD5 3d03e8d003bdcb16bccb7d8431aea48b
Eval Count 0
Decode Time 90 ms