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);
@$con = mysql_connect($host,$dbuser,$dbpass);
// Check connection
if (!$con)
{
echo "Failed to connect to MySQL: " . mysql_error();
}
@mysql_select_db($dbname1,$con) or die ( "Unable to connect to the database: $dbname1".mysql_error());
$sql_connect_1 = "SQL Connect included";
############################################
# For Challenge series--- Randomizing the Table names.
?>
Did this file decode correctly?
Original Code
<?php
//including the Mysql connect parameters.
include("../sql-connections/db-creds.inc");
@error_reporting(0);
@$con = mysql_connect($host,$dbuser,$dbpass);
// Check connection
if (!$con)
{
echo "Failed to connect to MySQL: " . mysql_error();
}
@mysql_select_db($dbname1,$con) or die ( "Unable to connect to the database: $dbname1".mysql_error());
$sql_connect_1 = "SQL Connect included";
############################################
# For Challenge series--- Randomizing the Table names.
?>
Function Calls
None |
Stats
MD5 | 30254d35931df73d667b23fa0bddc14c |
Eval Count | 0 |
Decode Time | 115 ms |