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__;$_X='P2lCP1ouWg1WaGg+NHpNZVl9TWVjTXo+Mk9ISE0yPXNPSD5BT3o+ek0yT3o5Pm5NPQ..

Decoded Output download

$_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA
[d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhW<DsG{>CcX}1N/afj6]JtuS 
.BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php
// Dreamweaver connection for record set
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connection = "localhost";
$database_connection = "cbt";
$username_connection = "root";
$password_connection = "";
$connection = mysql_connect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR); 
?>

<?php
//alameen connection for other queries.........
//1.create a database connection
$connection = mysql_connect("localhost","root");
if(!$connection){
die("Database connection failed:".mysql_error());
}

//2.select a database to use
$db_select = mysql_select_db("cbt",$connection);
if(!$db_select){
die("Database selection failed:".mysql_error());
}
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1WaGg+NHpNZVl9TWVjTXo+Mk9ISE0yPXNPSD5BT3o+ek0yT3o5Pm5NPQ1WIz5yc1dNRWVZTVMiL09ISE0yPXNPSF9aLlpfWXFudldYLj1ZIg1WIz5UcVpNUyJ1YnB3SSINViM+dFRUbVMiPXpRTSINViQuT249SGVZTV8yT0hITTI9c09IPlM+IldPMmVXLk9uPSI7DVYkOWU9ZTxlbk1fMk9ISE0yPXNPSD5TPiIyPD0iOw1WJFFuTXpIZVlNXzJPSEhNMj1zT0g+Uz4iek9PPSI7DVYkWmVubn1PejlfMk9ISE0yPXNPSD5TPiIiOw1WJDJPSEhNMj1z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64_decode 2
mysql_connect 1

Variables

$_D base64_decode
$_F index.php
$_R ?><?php // Dreamweaver connection for record set # FileNam..
$_X ?><?php // Dreamweaver connection for record set # FileNam..
$database_connection cbt
$hostname_connection localhost
$password_connection
$username_connection root

Stats

MD5 e50ac9cca1a64de3220c6c60c422b4d5
Eval Count 2
Decode Time 69 ms