• The browser displays the favicon.

    ICO (Icon is an icon format used to represent websites, applications, or files. In web pages, ICO icons are usually displayed in browser tabs, bookmark bars, and other locations.Most browsers will automatically look for a file named "favicon.ic...

  • Version History

    The current stable version is 1.7.4;Related: Z-Blog Development Milestones1.7 Tenet1.7.4feat. Support for PHP 8.4feat. Added `moreinfo` field to API error responses.feat. Added login verification code and CSRF token validation. The expiration time fo...

  • Frequently Asked Questions (API)

    Output Custom JSON Format (Supported in 1.7.2 The system API defaults to outputting JSON content with fields code, data, error, and message.How to output custom fields? For example, outputting errno, msg fields://Define the return arra...

  • Local API Call (1.7.3 Supported)

    1.7.3 Added the ApiExecute function, which can be used to call and execute APIs from public modules and private modules and return the results.Function Definition:/** * API Execution. * * @param string  ...

  • Custom API

    Using interfaces in the API module makes it convenient to extend custom APIs.This article uses the newapi plugin as an example to extend an API module and define an API command.Create PluginAssuming the plugin ID is newapi, the content of its include...

  • API Documentation

    API Address Pattern: https://example.com/zb_system/api.php?mod=<module_name>[&act=<action_name>][&other...]For act=post requests of each "API module", the request parameters are the data field definitions corresponding t...

  • API Overall Design

    Here is the English translation of the provided Chinese content, maintaining the original structure and HTML:OverviewBased on the functional modules (Module of Z-BlogPHP, they can be divided into the following nine modules:User ModuleArticle Module...

  • Z-BlogPHP Template Syntax Summary

    System TagsTagDescriptionTagDescription{$name}Blog URL{$subname}Blog Title{$host}Blog URL{$theme}Theme Name{$style}Style Name{$copyright}Copyright Information{$version}Z-BlogPHP Version Number{$zblogphp}Z-BlogPHP Version Information{$zblogphphtml}Z-B...

  • NetWork Network component

    Component IntroductionThe Z-BlogPHP built-in NetWork component is a self-developed component that has been included since version 1.0. After years of development and refinement, you are welcome to use it.The NetWork component consists of a Network fa...

  • Custom data types and database table creation and CURD operations

    Defining Data StructuresAdding new data structures involves adding items to the global variables $table and $datainfo arrays.# In this article, we will create a class called Custom # Table N...

  • SQL Chained Queries

    This page content is only applicable to "Version 1.7 and higher"!Basic ConceptsDemo 1:// Generate SQL statement using chained syntax $sql = $zbp->db->sql->get( ...

  • Page routing

    Part of the sample code in this section is based on the demoPlugin plugin created by "Hello Z-Blog - Plugin Development";There are two ways: "New Version - Page Routing" and "Old Version - Page Routing";1.7 New RoutingVe...