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 /* micro-MVC File name: controller.php Descript..
Decoded Output download
<?php
/*
micro-MVC
File name: controller.php
Description: This file contains the "MVC CONTROLLER" class.
Coded by George Delaportas (G0D)
Copyright (C) 2015
Open Software License (OSL 3.0)
*/
// Check for direct access
if (!defined('micro_mvc'))
exit();
// MVC CONTROLLER class
class MVC_CONTROLLER
{
public static function root()
{
$result = ROOT_MODEL::Get_Data();
MVC::Store_Content('root', $result);
return true;
}
// Test route
public static function test()
{
$result = TEST_MODEL::Get_Data();
MVC::Store_Content('test', $result);
return true;
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*
micro-MVC
File name: controller.php
Description: This file contains the "MVC CONTROLLER" class.
Coded by George Delaportas (G0D)
Copyright (C) 2015
Open Software License (OSL 3.0)
*/
// Check for direct access
if (!defined('micro_mvc'))
exit();
// MVC CONTROLLER class
class MVC_CONTROLLER
{
public static function root()
{
$result = ROOT_MODEL::Get_Data();
MVC::Store_Content('root', $result);
return true;
}
// Test route
public static function test()
{
$result = TEST_MODEL::Get_Data();
MVC::Store_Content('test', $result);
return true;
}
}
?>
Function Calls
defined | 1 |
Stats
MD5 | cfb0fe6f7ff7c0eea32c98fff7315d0f |
Eval Count | 0 |
Decode Time | 126 ms |