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 //$starttime = microtime(); if(strtolower($_SERVER['HTTP_HOST'])=='musicjan.ne..

Decoded Output download

<?php 
 
//$starttime = microtime(); 
 
if(strtolower($_SERVER['HTTP_HOST'])=='musicjan.net'){ 
 define('SF_ROOT_DIR',    realpath(dirname(__FILE__)).'/skyitekh'); 
 define('SF_APP',         'frontend_m'); 
 define('SF_ENVIRONMENT', 'musicjan'); 
 define('SF_DEBUG',       false); 
} 
elseif(strtolower($_SERVER['HTTP_HOST'])=='musicjan.com'){ 
 define('SF_ROOT_DIR',    realpath(dirname(__FILE__)).'/skyitekh'); 
 define('SF_APP',         'frontend_m'); 
 define('SF_ENVIRONMENT', 'musicjan'); 
 define('SF_DEBUG',       false); 
} 
else{ 
 if(stristr($_SERVER['HTTP_HOST'],'musicjan.net')){ 
	header('Location: http://musicjan.net'.$_SERVER['REQUEST_URI'],TRUE,301); 
 } 
 elseif(stristr($_SERVER['HTTP_HOST'],'musicjan.com')){ 
	header('Location: http://musicjan.com'.$_SERVER['REQUEST_URI'],TRUE,301); 
 } 
 else{ 
	header('Location: http://musicjan.net'.$_SERVER['REQUEST_URI'],TRUE,301); 
 } 
	exit; 
} 
 
require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); 
sfContext::getInstance()->getController()->dispatch(); 
 
 ?>

Did this file decode correctly?

Original Code

<?php

//$starttime = microtime();

if(strtolower($_SERVER['HTTP_HOST'])=='musicjan.net'){
 define('SF_ROOT_DIR',    realpath(dirname(__FILE__)).'/skyitekh');
 define('SF_APP',         'frontend_m');
 define('SF_ENVIRONMENT', 'musicjan');
 define('SF_DEBUG',       false);
}
elseif(strtolower($_SERVER['HTTP_HOST'])=='musicjan.com'){
 define('SF_ROOT_DIR',    realpath(dirname(__FILE__)).'/skyitekh');
 define('SF_APP',         'frontend_m');
 define('SF_ENVIRONMENT', 'musicjan');
 define('SF_DEBUG',       false);
}
else{
 if(stristr($_SERVER['HTTP_HOST'],'musicjan.net')){
	header('Location: http://musicjan.net'.$_SERVER['REQUEST_URI'],TRUE,301);
 }
 elseif(stristr($_SERVER['HTTP_HOST'],'musicjan.com')){
	header('Location: http://musicjan.com'.$_SERVER['REQUEST_URI'],TRUE,301);
 }
 else{
	header('Location: http://musicjan.net'.$_SERVER['REQUEST_URI'],TRUE,301);
 }
	exit;
}

require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
sfContext::getInstance()->getController()->dispatch();

Function Calls

strtolower 1

Variables

None

Stats

MD5 498948261c31dddd6d57f28f16389bd1
Eval Count 0
Decode Time 91 ms