<?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
没有合适的资源?快使用搜索试试~ 我知道了~
2022最新独立版智狐聚合支付v1.0.5.21_聚合支付系统源码
共6244个文件
php:4995个
dat:360个
js:268个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 26 浏览量
2022-04-16
20:12:50
上传
评论
收藏 19.29MB RAR 举报
温馨提示
PHP聚合支付源码 独立版智狐聚合支付v1.0.5.21 1、在宝塔新建个站点,php版本使用7.3 或 7.4,运行目录设置为/public,关闭防跨站攻击 2、导入数据库文件,数据库文件在/fox_pay.sql 3、修改数据库连接配置,配置文件是/.env 4、正式使用时,请把调试模式关闭:/.env文件第一行,true改成false 5、后台地址:http://域名/admin 初始账号密码:admin 123456 及时修改 仅供研究学习使用!
资源推荐
资源详情
资源评论
收起资源包目录
2022最新独立版智狐聚合支付v1.0.5.21_聚合支付系统源码 (6244个子文件)
var-dump-server.bat 142B
merge.bat 22B
test.bmp 0B
CHANGELOG 1KB
config 478B
chunk-elementUI.68c70ad5.css 228KB
chunk-elementUI.68c70ad5.css 228KB
chunk-elementUI.68c70ad5.css 228KB
chunk-e40719e8.16d43d8c.css 72KB
chunk-e40719e8.16d43d8c.css 72KB
chunk-3efe949c.1332e4a1.css 69KB
chunk-3efe949c.1332e4a1.css 69KB
app.5ed09356.css 13KB
app.1e817b71.css 13KB
app.698a9337.css 13KB
chunk-dd795062.0e028975.css 5KB
chunk-dd795062.0e028975.css 5KB
chunk-7270a3ea.0e028975.css 5KB
chunk-dd795062.0e028975.css 5KB
chunk-5f1e881e.515b8fc1.css 4KB
chunk-5f1e881e.515b8fc1.css 4KB
chunk-libs.3dfb7769.css 3KB
chunk-libs.3dfb7769.css 3KB
chunk-libs.3dfb7769.css 3KB
chunk-46bb9b3a.68606c60.css 3KB
chunk-2dd57803.7a134859.css 3KB
chunk-8a309026.f296d02f.css 3KB
chunk-0768cb5f.45c63846.css 3KB
chunk-3c469e2f.86f20ad4.css 3KB
chunk-7a5caf92.b637eb20.css 3KB
chunk-6b4c4d48.e7ea2163.css 3KB
chunk-0021f3d0.22519986.css 3KB
chunk-5d51f266.cde75564.css 3KB
htmlDescriptor.css 3KB
chunk-23420dec.461c6d66.css 3KB
chunk-728b27de.b4685b83.css 3KB
chunk-af14ef58.bb98797d.css 3KB
chunk-590b46ab.9df06f67.css 3KB
chunk-53e674c7.385c0b55.css 3KB
chunk-02a8e296.09cb18eb.css 3KB
chunk-7be7fbbc.816d2f79.css 3KB
chunk-2d6fb61c.e157a75c.css 3KB
chunk-30c45b0e.a3961075.css 3KB
chunk-1df35e4c.60a8dbff.css 2KB
chunk-509ecf9e.40187454.css 2KB
chunk-3a00c6da.acea789a.css 2KB
chunk-a3785090.99ab0bea.css 2KB
chunk-1723339a.f35b9190.css 2KB
chunk-13590650.cfca6e1a.css 2KB
chunk-b0bc0c3c.cd7c1cff.css 2KB
chunk-13590650.cfca6e1a.css 2KB
chunk-7304c840.c937b48a.css 2KB
chunk-15656717.058c703e.css 2KB
chunk-7be5662d.e8798c8a.css 2KB
chunk-066b1cd4.ba062993.css 2KB
chunk-07f2e76c.4fa527a0.css 2KB
chunk-30c45b0e.6197e6ea.css 2KB
chunk-2d6fb61c.a2bb8e41.css 2KB
chunk-5963512a.45b6dd41.css 2KB
chunk-5963512a.45b6dd41.css 2KB
chunk-1bb4b216.63f1686c.css 2KB
chunk-5cf36c09.f5b7b23b.css 2KB
chunk-32b24147.378dacb4.css 2KB
chunk-865bc5a6.d91624e2.css 2KB
chunk-e496fc22.abf961d6.css 2KB
chunk-077c7e70.39219984.css 2KB
chunk-04016738.ab02b8e5.css 2KB
chunk-a087bde8.1060fe9e.css 2KB
chunk-a087bde8.1060fe9e.css 2KB
chunk-6c6d3910.38a45a4e.css 2KB
chunk-768c1915.efbae92c.css 2KB
chunk-5a8f3aa6.adbc027b.css 2KB
chunk-ddeced5e.35004a4f.css 2KB
chunk-87bae142.880a1285.css 1KB
chunk-411b94e4.ff40b034.css 1KB
chunk-f7ea53f2.306a127b.css 1KB
chunk-7ad15575.306a127b.css 1KB
chunk-ee664b00.87b14609.css 1KB
chunk-4ab0e854.87b14609.css 1KB
chunk-2cd9e3ba.43a4fb92.css 1KB
chunk-513938fc.902aedd5.css 1KB
main.css 942B
main.css 942B
main.css 922B
main.css 841B
main.css 841B
chunk-239c872c.802285ea.css 775B
chunk-54a1b0a8.735ee4d5.css 701B
chunk-91891cca.2ae74c78.css 701B
chunk-413b111e.1de74d26.css 683B
chunk-911d2fde.b797109a.css 683B
chunk-796a3d1a.78125265.css 683B
chunk-483d26c7.f786d45b.css 683B
chunk-6a786a3a.cae63129.css 683B
chunk-cecfc04c.81e9edce.css 584B
chunk-5f269400.cbd96f97.css 584B
chunk-11687a47.dd01671f.css 584B
chunk-24cef249.a57a291b.css 502B
chunk-cf01de06.78495fec.css 489B
chunk-9d14c04a.1eca1942.css 489B
共 6244 条
- 1
- 2
- 3
- 4
- 5
- 6
- 63
资源评论
stbomei
- 粉丝: 39
- 资源: 1237
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功