⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 phpop3clean.getid3.lib.php

📁 一个基于页面实现的pop客户端程序
💻 PHP
字号:
<?php//////////////////////////////////////////////////////////////////// getID3() by James Heinrich <info@getid3.org>               ////  available at http://getid3.sourceforge.net                 ////            or http://www.getid3.org                         /////////////////////////////////////////////////////////////////////                                                             //// getid3.lib.php - part of getID3()                           //// See readme.txt for more details                             ////                                                             ///////////////////////////////////////////////////////////////////// getid3_lib::GetURLImageSize( $urlpic ) determines the       //// dimensions of local/remote URL pictures.                    //// returns array with ($width, $height, $type)                 ////                                                             //// Thanks to: Oyvind Hallsteinsen aka Gosub / ELq -            //// gosub豦lq*org  for the original size determining code       ////                                                             //// PHP Hack by Filipe Laborde-Basto Oct 21/2000                //// FREELY DISTRIBUTABLE -- use at your sole discretion! :)     //// Enjoy. (Not to be sold in commercial packages though,       //// keep it free!) Feel free to contact me at fil豶ezox*com     //// (http://www.rezox.com)                                      ////                                                             //// Modified by James Heinrich <getid3豼sers*sourceforge*net>   //// June 1, 2001 - created GetDataImageSize($imgData) by        //// seperating the fopen() stuff to GetURLImageSize($urlpic)    //// which then calls GetDataImageSize($imgData). The idea being //// you can call GetDataImageSize($imgData) with image data     //// from a database etc.                                        ////                                                            ////////////////////////////////////////////////////////////////////// bundled as part of phPOP3clean - http://phpop3clean.sf.net  ///////////////////////////////////////////////////////////////////define('GETID3_GIF_SIG',     "\x47\x49\x46");  // 'GIF'define('GETID3_PNG_SIG',     "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A");define('GETID3_JPG_SIG',     "\xFF\xD8\xFF");define('GETID3_JPG_SOS',     "\xDA"); // Start Of Scan - image data startdefine('GETID3_JPG_SOF0',    "\xC0"); // Start Of Frame Ndefine('GETID3_JPG_SOF1',    "\xC1"); // N indicates which compression processdefine('GETID3_JPG_SOF2',    "\xC2"); // Only SOF0-SOF2 are now in common usedefine('GETID3_JPG_SOF3',    "\xC3");// NB: codes C4 and CC are *not* SOF markersdefine('GETID3_JPG_SOF5',    "\xC5");define('GETID3_JPG_SOF6',    "\xC6");define('GETID3_JPG_SOF7',    "\xC7");define('GETID3_JPG_SOF9',    "\xC9");define('GETID3_JPG_SOF10',   "\xCA");define('GETID3_JPG_SOF11',   "\xCB");// NB: codes C4 and CC are *not* SOF markersdefine('GETID3_JPG_SOF13',   "\xCD");define('GETID3_JPG_SOF14',   "\xCE");define('GETID3_JPG_SOF15',   "\xCF");define('GETID3_JPG_EOI',     "\xD9"); // End Of Image (end of datastream)class getid3_lib{	function PrintHexBytes($string, $hex=true, $spaces=true, $htmlsafe=true) {		$returnstring = '';		for ($i = 0; $i < strlen($string); $i++) {			if ($hex) {				$returnstring .= str_pad(dechex(ord($string{$i})), 2, '0', STR_PAD_LEFT);			} else {				$returnstring .= ' '.(ereg("[\x20-\x7E]", $string{$i}) ? $string{$i} : '

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -