<?php
//////////////////////////////////////////////////////////////
// phpThumb() by James Heinrich <[email protected]> //
// available at http://phpthumb.sourceforge.net //
// and/or https://github.com/JamesHeinrich/phpThumb //
//////////////////////////////////////////////////////////////
/// //
// See: phpthumb.readme.txt for usage instructions //
// ///
//////////////////////////////////////////////////////////////
ob_start();
if (!include_once(dirname(__FILE__).'/phpthumb.functions.php')) {
ob_end_flush();
die('failed to include_once("'.realpath(dirname(__FILE__).'/phpthumb.functions.php').'")');
}
ob_end_clean();
class phpthumb {
// public:
// START PARAMETERS (for object mode and phpThumb.php)
// See phpthumb.readme.txt for descriptions of what each of these values are
var $src = null; // SouRCe filename
var $new = null; // NEW image (phpThumb.php only)
var $w = null; // Width
var $h = null; // Height
var $wp = null; // Width (Portrait Images Only)
var $hp = null; // Height (Portrait Images Only)
var $wl = null; // Width (Landscape Images Only)
var $hl = null; // Height (Landscape Images Only)
var $ws = null; // Width (Square Images Only)
var $hs = null; // Height (Square Images Only)
var $f = null; // output image Format
var $q = 75; // jpeg output Quality
var $sx = null; // Source crop top-left X position
var $sy = null; // Source crop top-left Y position
var $sw = null; // Source crop Width
var $sh = null; // Source crop Height
var $zc = null; // Zoom Crop
var $bc = null; // Border Color
var $bg = null; // BackGround color
var $fltr = array(); // FiLTeRs
var $goto = null; // GO TO url after processing
var $err = null; // default ERRor image filename
var $xto = null; // extract eXif Thumbnail Only
var $ra = null; // Rotate by Angle
var $ar = null; // Auto Rotate
var $aoe = null; // Allow Output Enlargement
var $far = null; // Fixed Aspect Ratio
var $iar = null; // Ignore Aspect Ratio
var $maxb = null; // MAXimum Bytes
var $down = null; // DOWNload thumbnail filename
var $md5s = null; // MD5 hash of Source image
var $sfn = 0; // Source Frame Number
var $dpi = 150; // Dots Per Inch for vector source formats
var $sia = null; // Save Image As filename
var $file = null; // >>>deprecated, DO NOT USE, will be removed in future versions<<<
var $phpThumbDebug = null;
// END PARAMETERS
// public:
// START CONFIGURATION OPTIONS (for object mode only)
// See phpThumb.config.php for descriptions of what each of these settings do
// * Directory Configuration
var $config_cache_directory = null;
var $config_cache_directory_depth = 0;
var $config_cache_disable_warning = true;
var $config_cache_source_enabled = false;
var $config_cache_source_directory = null;
var $config_temp_directory = null;
var $config_document_root = null;
// * Default output configuration:
var $config_output_format = 'png';
var $config_output_maxwidth = 0;
var $config_output_maxheight = 0;
var $config_output_interlace = true;
// * Error message configuration
var $config_error_image_width = 400;
var $config_error_image_height = 100;
var $config_error_message_image_default = '';
var $config_error_bgcolor = 'CCCCFF';
var $config_error_textcolor = 'FF0000';
var $config_error_fontsize = 1;
var $config_error_die_on_error = false;
var $config_error_silent_die_on_error = false;
var $config_error_die_on_source_failure = true;
// * Anti-Hotlink Configuration:
var $config_nohotlink_enabled = true;
var $config_nohotlink_valid_domains = array();
var $config_nohotlink_erase_image = true;
var $config_nohotlink_text_message = 'Off-server thumbnailing is not allowed';
// * Off-server Linking Configuration:
var $config_nooffsitelink_enabled = false;
var $config_nooffsitelink_valid_domains = array();
var $config_nooffsitelink_require_refer = false;
var $config_nooffsitelink_erase_image = true;
var $config_nooffsitelink_watermark_src = '';
var $config_nooffsitelink_text_message = 'Off-server linking is not allowed';
// * Border & Background default colors
var $config_border_hexcolor = '000000';
var $config_background_hexcolor = 'FFFFFF';
// * TrueType Fonts
var $config_ttf_directory = './fonts';
var $config_max_source_pixels = null;
var $config_use_exif_thumbnail_for_speed = false;
var $allow_local_http_src = false;
var $config_imagemagick_path = null;
var $config_prefer_imagemagick = true;
var $config_imagemagick_use_thumbnail = true;
var $config_cache_maxage = null;
var $config_cache_maxsize = null;
var $config_cache_maxfiles = null;
var $config_cache_source_filemtime_ignore_local = false;
var $config_cache_source_filemtime_ignore_remote = true;
var $config_cache_default_only_suffix = false;
var $config_cache_force_passthru = true;
var $config_cache_prefix = ''; // default value set in the constructor below
// * MySQL
var $config_mysql_query = null;
var $config_mysql_hostname = null;
var $config_mysql_username = null;
var $config_mysql_password = null;
var $config_mysql_database = null;
// * Security
var $config_high_security_enabled = true;
var $config_high_security_password = null;
var $config_high_security_url_separator = '&';
var $config_disable_debug = false;
var $config_allow_src_above_docroot = false;
var $config_allow_src_above_phpthumb = true;
var $config_auto_allow_symlinks = true; // allow symlink target directories without explicitly whitelisting them
var $config_additional_allowed_dirs = array(); // additional directories to allow source images to be read from
// * HTTP fopen
var $config_http_fopen_timeout = 10;
var $config_http_follow_redirect = true;
// * Compatability
var $config_disable_pathinfo_parsing = false;
var $config_disable_imagecopyresampled = false;
var $config_disable_onlycreateable_passthru = false;
var $config_http_user_agent = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7';
// END CONFIGURATION OPTIONS
// public: error messages (read-only; persistant)
var $debugmessages = array();
var $debugtiming = array();
var $fatalerror = null;
// private: (should not be modified directly)
var $thumbnailQuality = 75;
var $thumbnailFormat = null;
var $sourceFilename = null;
var $rawImageData = null;
var $IMresizedData = null;
var $outputImageData = null;
var $useRawIMoutput = false;
var $gdimg_output = null;
var $gdimg_source = null;
var $getimagesizeinfo = null;
var $source_width = null;
var $source_height = null;
var $thumbnailCropX = null;
va
没有合适的资源?快使用搜索试试~ 我知道了~
一物一码红包营销源码 开源版V1.1.2
共569个文件
php:212个
html:202个
png:48个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 59 浏览量
2022-02-16
14:38:40
上传
评论 1
收藏 6.83MB ZIP 举报
温馨提示
一物一码红包营销 开源版 1.1.2
资源推荐
资源详情
资源评论
收起资源包目录
一物一码红包营销源码 开源版V1.1.2 (569个子文件)
bootstrap.min.css 118KB
AdminLTE.css 109KB
AdminLTE.min.css 89KB
ionicons.min.css 50KB
_all-skins.min.css 41KB
main.css 32KB
font-awesome.min.css 30KB
style.min.css 26KB
style.min.css 26KB
swiper.css 17KB
layer.css 5KB
layer.css 5KB
layer.css 5KB
style.css 3KB
buttons.css 3KB
style4.css 2KB
dropload.css 1KB
loading.gif 4KB
throbber.gif 2KB
info.gif 222B
index.html 67KB
index_wheel.html 63KB
my.html 43KB
setting.html 39KB
awardedit.html 37KB
awardedit.html 36KB
lottery.html 33KB
activityedit.html 29KB
award.html 25KB
modulesetting.html 24KB
activity_pagestep2_v1.html 23KB
awarded.html 23KB
shippost.html 22KB
catemanage.html 19KB
qrcodesegment.html 19KB
indexhb.html 18KB
fans.html 18KB
shiporder.html 17KB
fisnawardedit.html 16KB
shippay.html 15KB
index.html 15KB
index.html 15KB
actedit.html 15KB
keepawardedit.html 15KB
activityedit.html 13KB
shipedmanage.html 13KB
awardedmanage.html 13KB
awardedlog.html 12KB
dgawardedmanage.html 12KB
index.html 12KB
g.html 11KB
tixian.html 11KB
share.html 11KB
verifedmanage.html 11KB
fisnawarded.html 11KB
awardedmanage.html 11KB
census.html 11KB
census.html 10KB
my.html 10KB
bizs.html 10KB
uc.html 10KB
bizs.html 10KB
activitypage.html 10KB
dguc.html 10KB
dgindex.html 10KB
dgindex.html 10KB
dgindex.html 10KB
gkuc.html 9KB
addcate.html 9KB
my.html 9KB
my.html 9KB
indexhb.html 9KB
indexhb.html 9KB
indexhb_.html 9KB
activity.html 9KB
verif.html 9KB
dgscorerank.html 9KB
api.html 9KB
api.html 9KB
fissionscorerank.html 9KB
actshare.html 9KB
gkawardedlog.html 8KB
ship.html 8KB
ship.html 8KB
grant.html 8KB
gkscanlog.html 8KB
censusawarded.html 8KB
changemanage.html 8KB
biz.html 8KB
dgscanlog.html 8KB
index.html 8KB
index.html 8KB
verif.html 8KB
grantcardanalyse.html 8KB
dgscoresort.html 7KB
fissionscoresort.html 7KB
uc.html 7KB
grantdg.html 7KB
rule.html 7KB
grant.html 7KB
共 569 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- 张家小奔奔2024-04-30感谢大佬分享的资源,对我启发很大,给了我新的灵感。
智慧浩海
- 粉丝: 1w+
- 资源: 5150
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功