mzphp v2.0:支持scss、PHP混淆加密框架
mzphp v2.0 年前迎来大更新:
新增:
1. 支持从入口文件中加载 control.
2. 新增独创的 EnPHP 工具:可将 PHP 项目混淆加密,欢迎试用。
3. 模板引擎新增编译前缀,用于站群模式多个站点可复用不同目录下相同文件名的模板
4. 新增地址重写支持多级数组,例:/where[time][0]/20120102/where[time][1]/20120103/
5. url 方法 action 增加默认值。
6. spider 类在 HTTPS 请求时支持 SSL 证书。
7. 模板引擎新变量{CDN},用于绑定 CDN 路径。
修复:
1. core::json_encode 部分中文字符集的 BUG。
2. 修复 spider 在 5.6 版本中无法支持 @ 上传文件的问题。
3. 修复 core 的在某些环境下的 warning 提示。
优化:
1. 优化模板引擎,去除兼容变量,部分无用注释
附: EnPHP 混淆加密的说明
EnPHP 所在路径:tools/enphp_project.php
EnPHP 可以加密混淆 PHP 5-7 ,现内置于 mzphp Framework 中。
EnPHP 经多方测试已经支持加密混淆 99% 以上的 PHP 代码,欢迎测试反馈。
使用方法:
1. 将 enphp_project.php 拷至您的项目中
2. 修改 enphp 中适合你的 option 参数(选)
3. 修改 enphp_control 中 on_index 方法里需要加密的文件(选)
4. 在浏览器中访问本文件,或者使用 php enphp_project.php 命令行模式执行加密
P.S. 重要的事情说三遍:备份!备份!备份!请在加密前备份好您的源码文件,通过 EnPHP 加密的文件均无法恢复!否则请不要使用。
P.S.S. 您也可以将 enphp 类与 spider 类拷出去单独使用,EnPHP 的后台服务第一版暂时搭在 MoPaaS 中(速度有点慢请见谅)。
mzphp 是什么?
mzphp 是一款支持 scss 语法、css sprite、EnPHP 加密的实用型站群 php 框架。
不为学术派、标准,只注重:精简、高性能、开发效率。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.

The article discusses adding custom functionality to frameworks, focusing on understanding architecture, identifying extension points, and best practices for integration and debugging.

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

An official introduction to the non-blocking feature of ReactPHP in-depth interpretation of ReactPHP's non-blocking feature has aroused many developers' questions: "ReactPHPisnon-blockingbydefault...
