Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval (gzinflate(base64_decode( '7Vf7U9tGEP45nvH/sKhuLAGWgGk6kwchhEdLJxAmTpq2mLhnaWXdIN05d..

Decoded Output download

?><?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2009 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: functions.php
| Author: DeeoNe
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/

include INFUSIONS."D1_user_werben_panel/infusion_db.php";

function d1userwerbenSet($field) {
	$data = dbarray(dbquery("SELECT * FROM ".DB_D1UW_conf.""));
	$value = $data[$field];
	return $value;
}

function d1userwerbensec() {
	global $settings, $aidlink;
	if (d1userwerbenSet("inf_name") == "" || d1userwerbenSet("inf_name") != md5("D1 User Werben") || d1userwerbenSet("site_url") == "" || d1userwerbenSet("site_url") != md5("D1 User Werben".$settings['siteurl'])) {
		redirect(INFUSIONS."D1_time_panel/D1_time_panel_register.php".$aidlink);
	}
}

function d1userwerbensec2() {
	global $settings, $aidlink;
	if (d1userwerbenSet("inf_name") == "" || d1userwerbenSet("inf_name") != md5("D1 User Werben") || d1userwerbenSet("site_url") == "" || d1userwerbenSet("site_url") != md5("D1 User Werben".$settings['siteurl'])) {
		redirect(BASEDIR."index.php");
	}
}

function validEmail($email)
{
   $isValid = true;
   $atIndex = strrpos($email, "@");
   if (is_bool($atIndex) && !$atIndex)
   {
      $isValid = false;
   }
   else
   {
      $domain = substr($email, $atIndex+1);
      $local = substr($email, 0, $atIndex);
      $localLen = strlen($local);
      $domainLen = strlen($domain);
      if ($localLen < 1 || $localLen > 64)
      {
         // local part length exceeded
         $isValid = false;
      }
      else if ($domainLen < 1 || $domainLen > 255)
      {
         // domain part length exceeded
         $isValid = false;
      }
      else if ($local[0] == '.' || $local[$localLen-1] == '.')
      {
         // local part starts or ends with '.'
         $isValid = false;
      }
      else if (preg_match('/\.\./', $local))
      {
         // local part has two consecutive dots
         $isValid = false;
      }
      else if (!preg_match('/^[A-Za-z0-9\-\.]+$/', $domain))
      {
         // character not valid in domain part
         $isValid = false;
      }
      else if (preg_match('/\.\./', $domain))
      {
         // domain part has two consecutive dots
         $isValid = false;
      }
      else if
(!preg_match('/^(\.|[A-Za-z0-9!#%&`_=\/$\'*+?^{}|~.-])+$/',
                 str_replace("\","",$local)))
      {
         // character not valid in local part unless
         // local part is quoted
         if (!preg_match('/^"(\"|[^"])+"$/',
             str_replace("\","",$local)))
         {
            $isValid = false;
         }
      }
      if ($isValid && !(checkdnsrr($domain,"MX") || checkdnsrr($domain,"A")))
      {
         // domain not found in DNS
         $isValid = false;
      }
   }
   return $isValid;
}

?><?

Did this file decode correctly?

Original Code

eval (gzinflate(base64_decode(
'7Vf7U9tGEP45nvH/sKhuLAGWgGk6kwchhEdLJxAmTpq2mLhnaWXdIN05dyccN6Z/'
.'e/f08INCQpP8WI1Htk7f7n777d7DO0+f7IySUbMRrHa+7FprNqZw+vNp5zDXXArY'
.'k8KgMHDMBBtiZn92J9pgZnF7cjRRfJgYcPc82NrY2IKO/XoIJzy8gF+kQG1xiTGj'
.'R0EwHo99YteJC9d+KP38Img21jpfw/WQpyhYho8gzkVoyLH2CwmmsJubRKpHsI8o'
.'T/BrA71OuIaRkkPFMqCfClNkGiNgGmKFCFrGZswUQi4iVGASLEjEMSoJP52+gJSH'
.'KDT68LvMIWSCXERcG8UHuUHgBpiIAqmsVSYjHk/s2MwZGFSZBhnTA4WvnME44WEC'
.'E5lbs9Ipi2AwgUuOYy6GhSkXYZpHlutwlPrmgwGpQIqUi4IjM2BrMxS5L9UwqFzr'
.'oEAnJkt9eIWZvGRpHb4INqt+QiGJJLGy2YQmnVihEj7ghmKOOZUhN9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3vdt1vM81jNUylnTE'
.'tlrun3Tv3iPlvT6lVdj6nLZDf8P+AQ=='
)));

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 1390200bc41ab3928758d5c16fd7274f
Eval Count 1
Decode Time 76 ms