SHARE
TWEET

Untitled

a guest Mar 30th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
  6. *
  7. * @ Version         :   1.1.6.0
  8. * @ Author          :   DeZender
  9. * @ Release on      :   02.06.2013
  10. * @ Official site   :   http://DeZender.Net
  11. *
  12. */
  13.  
  14.     public function safe_str($str) {
  15.         return str_replace( array( '
  16. ', '
  17. ', '<', '>', '\'', '"', '%', '$', '!', '&' ), '', $str );
  18.     }
  19.  
  20.     public function headers($last_modified, $expires = 0, $disable_caching = false, $enable_buffering = true) {
  21.         $config_allow_gzipsite = &$config_allow_gzipsite;
  22.         $preview = &$preview;
  23.  
  24.         if ($enable_buffering) {
  25.             if (!( isset( $_SERVER['HTTP_ACCEPT_ENCODING'] ))) {
  26.                 $_SERVER['HTTP_ACCEPT_ENCODING'] = '';
  27.             }
  28.  
  29.  
  30.             if (extension_loaded( 'zlib' )) {
  31.                 if (!( $config_allow_gzipsite == '1')) {
  32.                     if ($config_allow_gzipsite == '2') {
  33.                         if (defined( 'IS_AUTHUSER' )) {
  34.                         }
  35.                     }
  36.                 }
  37.  
  38.  
  39.                 if (!( ( !( strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip' ) !== false ) && !( strpos( $_SERVER['HTTP_ACCEPT_ENCODING'], 'deflate' ) !== false ) ))) {
  40.                     @ini_set( 'zlib.output_compression_level', 9 );
  41.                     ob_start( 'ob_gzhandler' );
  42.                 }
  43.             } else {
  44.                 ob_start(  );
  45.             }
  46.         }
  47.  
  48.  
  49.         if (!( ( !$disable_caching && !$preview ))) {
  50.             header( 'Expires: Thu, 21 Jul 1977 07:30:00 GMT' );
  51.             header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
  52.             header( 'Cache-Control: no-store, no-cache, must-revalidate' );
  53.             header( 'Cache-Control: post-check=0, pre-check=0', false );
  54.             header( 'Pragma: no-cache' );
  55.             return null;
  56.         }
  57.  
  58.         $modified_since = 0;
  59.  
  60.         if (isset( $_SERVER['HTTP_IF_MODIFIED_SINCE'] )) {
  61.             $modified_since = $_SERVER['HTTP_IF_MODIFIED_SINCE'];
  62.             $modified_since = explode( ';', $modified_since );
  63.             $modified_since = strtotime( $modified_since[0] );
  64.         }
  65.  
  66.  
  67.         if ($expires) {
  68.             $last_modified = time(  ) - date( 's' );
  69. ........................................................................
  70. ......................................
  71. .............
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top