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 //including the Mysql connect parameters. include("../sql-connections/db-creds.i..

Decoded Output download

<?php 
 
//including the Mysql connect parameters. 
include("../sql-connections/db-creds.inc"); 
error_reporting(0); 
 
//mysql connections for stacked query examples. 
$con1 = mysqli_connect($host,$dbuser,$dbpass); 
 
// Check connection 
if (mysqli_connect_errno($con1)) 
{ 
    echo "Failed to connect to MySQL: " . mysqli_connect_error(); 
} 
else 
{ 
    @mysqli_select_db($con1, $dbname) or die ( "Unable to connect to the database: $dbname"); 
} 
 
 
?> 
 
 
 
 
  

Did this file decode correctly?

Original Code

<?php

//including the Mysql connect parameters.
include("../sql-connections/db-creds.inc");
error_reporting(0);

//mysql connections for stacked query examples.
$con1 = mysqli_connect($host,$dbuser,$dbpass);

// Check connection
if (mysqli_connect_errno($con1))
{
    echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
else
{
    @mysqli_select_db($con1, $dbname) or die ( "Unable to connect to the database: $dbname");
}


?>




 

Function Calls

None

Variables

None

Stats

MD5 3a74f5a8e2f8651e689521dd4263eea8
Eval Count 0
Decode Time 111 ms