<?php
/*
* PHP QR Code encoder
*
* This file contains MERGED version of PHP QR Code library.
* It was auto-generated from full version for your convenience.
*
* This merged version was configured to not requre any external files,
* with disabled cache, error loging and weker but faster mask matching.
* If you need tune it up please use non-merged version.
*
* For full version, documentation, examples of use please visit:
*
* http://phpqrcode.sourceforge.net/
* https://sourceforge.net/projects/phpqrcode/
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/*
* Version: 1.1.4
* Build: 2010100721
*/
//---- qrconst.php -----------------------------
/*
* PHP QR Code encoder
*
* Common constants
*
* Based on libqrencode C library distributed under LGPL 2.1
* Copyright (C) 2006, 2007, 2008, 2009 Kentaro Fukuchi <fukuchi@megaui.net>
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Encoding modes
define('QR_MODE_NUL', -1);
define('QR_MODE_NUM', 0);
define('QR_MODE_AN', 1);
define('QR_MODE_8', 2);
define('QR_MODE_KANJI', 3);
define('QR_MODE_STRUCTURE', 4);
// Levels of error correction.
define('QR_ECLEVEL_L', 0);
define('QR_ECLEVEL_M', 1);
define('QR_ECLEVEL_Q', 2);
define('QR_ECLEVEL_H', 3);
// Supported output formats
define('QR_FORMAT_TEXT', 0);
define('QR_FORMAT_PNG', 1);
class qrstr {
public static function set(&$srctab, $x, $y, $repl, $replLen = false) {
$srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl));
}
}
//---- merged_config.php -----------------------------
/*
* PHP QR Code encoder
*
* Config file, tuned-up for merged verion
*/
define('QR_CACHEABLE', false); // use cache - more disk reads but less CPU power, masks and format templates are stored there
define('QR_CACHE_DIR', false); // used when QR_CACHEABLE === true
define('QR_LOG_DIR', false); // default error logs dir
define('QR_FIND_BEST_MASK', true); // if true, estimates best mask (spec. default, but extremally slow; set to false to significant performance boost but (propably) worst quality code
define('QR_FIND_FROM_RANDOM', 2); // if false, checks all masks available, otherwise value tells count of masks need to be checked, mask id are got randomly
define('QR_DEFAULT_MASK', 2); // when QR_FIND_BEST_MASK === false
define('QR_PNG_MAXIMUM_SIZE', 1024); // maximum allowed png image width (in pixels), tune to make sure GD and PHP can handle such big images
//---- qrtools.php -----------------------------
/*
* PHP QR Code encoder
*
* Toolset, handy and debug utilites.
*
* PHP QR Code is distributed under LGPL 3
* Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
class QRtools {
//----------------------------------------------------------------------
public static function binarize($frame)
{
$len = count($frame);
foreach ($frame as &$frameLine) {
for($i=0; $i<$len; $i++) {
$frameLine[$i] = (ord($frameLine[$i])&1)?'1':'0';
}
}
return $frame;
}
//----------------------------------------------------------------------
public static function tcpdfBarcodeArray($code, $mode = 'QR,L', $tcPdfVersion = '4.5.037')
{
$barcode_array = array();
if (!is_array($mode))
$mode = explode(',', $mode);
$eccLevel = 'L';
if (count($mode) > 1) {
$eccLevel = $mode[1];
}
$qrTab = QRcode::text($code, false, $eccLevel);
$size = count($qrTab);
$barcode_array['num_rows'] = $size;
$barcode_array['num_cols'] = $size;
$barcode_array['bcode'] = array();
foreach ($qrTab as $line) {
$arrAdd = array();
foreach(str_split($line) as $char)
$arrAdd[] = ($char=='1')?1:0;
$barcode_array['bcode'][] = $arrAdd;
}
return $barcode_array;
}
//----------------------------------------------------------------------
public static function clearCache()
{
self::$frames = array();
}
//----------------------------------------------------------------------
public static function buildCache()
{
QRtools::markTime('before_build_cache');
$mask = new QRmask();
for ($a=1; $a <= QRSPEC_VERSION_MAX; $a++) {
$frame = QRspec::newFrame($a);
if (QR_IMAGE) {
$fileName = QR_CACHE_DIR.'frame_'.$a.'.png';
QRimage::png(self::binarize($frame), $fileName, 1, 0);
}
$width = count($frame);
$bitMask = array_fill(0, $width, array_fill(0, $width, 0));
for ($maskNo
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
八图片平台分站的源码,php源码,最新的4.1版本,支持代收款和api两种支付方式。 源码里面有详细的配置说明和视频教程,看一下都会搭建 8tupian图片加密平台采用 php+mysql 的环境,php版本是php5.6或以上。 源码是通过调用八图片平台的API,进行设计开发的。用此源码搭建的网站,用户资金直接进入你自己的支付接口。 8tupian图片加密平台简介: 8tupian图片加密平台是一个可以对图片进行加密的网络平台。 将原始图片上传,就可以生成一张加密的网络图片。 这张网络图片可以发布到网站,论坛,公众号,QQ群等网上的任何角落。 另外,扫码支付后,还可以设置成跳转到一个指定网页(URL地址)。支付金额可以自行设置。获得的总收入存储在您的平台账户中,可以提现。 另外,扫码支付后,还可以跳转到一个指定网页(URL地址)。 源码说明: 8tupian图片加密平台包含三种模式上传图片。支付接口支持对接微信jsapi,支付宝当面付,易支付,支付宝手机网站支付等,个人也可以对接。8tupian图片加密平台是一个独立的网站,你需要独立运营,独立审核图片,独立给商户结算。
资源详情
资源评论
资源推荐
收起资源包目录
8图片平台源码 图片加密平台 资源加密 支付后可见 支付后显示内容 php源码 v4.1 (2000个子文件)
barCode 860B
.buildpath 174B
.buildpath 174B
main.css 730KB
style(1).css 297KB
style.css 169KB
bootstrap.css 144KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.min.css 120KB
bootstrap.min.css 118KB
bootstrap.min.css 115KB
animate.min.css 45KB
font-awesome.css 34KB
font-awesome.min.css 30KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
responsive.css 21KB
layer.css 14KB
templatemo-style.css 14KB
style.css 9KB
member.css 9KB
style_mobile_login.css 7KB
layer.css 5KB
easy-responsive-tabs.css 4KB
alipay_pay.css 4KB
nprogress.css 1KB
源码配置说明.doc 530KB
配置支付宝当面付.doc 241KB
README.doc 30KB
README.doc 30KB
申请签约支付宝当面付的教程.docx 313KB
.DS_Store 8KB
.DS_Store 8KB
.DS_Store 8KB
.DS_Store 8KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
glyphicons-halflings-regular.eot 20KB
beijing-2.gif 2.19MB
beijing-11.gif 1.52MB
logo.gif 10KB
shangchuan.gif 6KB
loading-0.gif 6KB
loading-2.gif 2KB
alipay.gif 1KB
alipay.gif 1KB
logo.gif 856B
loading-1.gif 701B
menu.htm 4KB
menu_m.htm 4KB
menu.htm 1KB
head.htm 1KB
foot.htm 36B
index.html 10KB
register.html 6KB
login.html 3KB
login.html 3KB
success.html 335B
网站搭建视频教程.html 126B
0.jpg 355KB
banner.jpg 266KB
banner.jpg 120KB
bei2.jpg 50KB
jingtaipic_m.jpg 42KB
444dbecbf66dd3a4560f4d44030b19e0_736x437.jpg 33KB
jingtaipic.jpg 30KB
bei1.jpg 22KB
wenhao.jpg 14KB
qbt_001.jpg 2KB
reader.js 1014KB
app.js 898KB
qcloud_util.js 156KB
index(2).js 135KB
jquery.min.js 95KB
jquery.min.js 92KB
jquery.min.js 92KB
jquery.min.js 91KB
jquery-3.3.1.min.js 85KB
jquery.min.js 81KB
index.js 80KB
bootstrap.js 68KB
bootstrap.js 67KB
bootstrap.min.js 36KB
bootstrap.min.js 36KB
layer.js 36KB
bootstrap.min.js 35KB
hm.js 28KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
xyxy12345
- 粉丝: 12
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0