Hongmu Notes
Home Program Notes pbootcms common code storage
Program Notes PbootCms

pbootcms common code storage

pbootcms common code storage

1. When collecting pbootcms, if you want to set up regular publishing, you can add the following code in the publishing PHP file:

if(file_exists("num.txt")){
    $updata_num = file_get_contents("num.txt");
    $updata_num++;
    file_put_contents("num.txt",$updata_num);
}else{
    file_put_contents("num.txt",1);
    $updata_num = 1;
}
$updata_time = $updata_num*1728;

The added location is where post data is received

微信赞赏

WeChat

支付宝赞赏

Alipay

✍️ Author: Hong Mu

webmaster · Thanks for reading, stay tuned for more exciting content

Author homepage View home page →

Related articles

Addition of message function to pbootcms website

Addition of message function to pbootcms website Program Notes PbootCms

Scope of application of message board tags: can be used anywhere on the entire site Tag function: used for users to submit messages and retrieve message records 1. Message submission form<form action="{pboot:msgaction}" method="post"> Contact person:<input type="tex…
👁 174
pbootcms introduces public file code

pbootcms introduces public file code Program Notes PbootCms

1. Template file nested reference {include file=***.html} Instructions for use: It can be used nested, such as: index.html nests a head.html, and nested comm.html in head.html supports the use of subdirectories, such as: {include file=comm/*.html} 2. Time formatting tag style=*, such as: within...
👁 235

Recommended reading

QQ Personal Space Blog & News Website Template 0765

QQ Personal Space Blog & News Website Template 0765 Practical Collection Yiyou template

An eYouCMS template designed for QQ Personal Space, blog/chronicle websites, and news/information platforms. Its fresh and artistic design makes it ideal for hosting emotional journals, personalized signatures, engaging blog posts, and real-time updates. This template helps individual webmasters or bloggers build personalized content-sharing platforms. Template Preview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for eYouCMS | eYou...
👁 47
Self-Media Operations Website Template 0766

Self-Media Operations Website Template 0766 Practical Collection Yiyou template

This EyouCMS template is ideal for self-media management websites, featuring a clean and modern design perfect for content creators to share articles, videos, and operational insights. It helps self-media creators build their personal online brand and attract followers. Template Preview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (EyouCMS)...
👁 48
Responsive Information Technology Enterprise Group Website Template 0769

Responsive Information Technology Enterprise Group Website Template 0769 Practical Collection Yiyou template

An EYO CMS responsive website template designed specifically for information technology enterprise groups – featuring a modern, tech-driven design ideal for showcasing a company's technological capabilities and business segments. It is an excellent choice for IT enterprises looking to establish a professional brand official website. Template Overview | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EYO CMS | EYO CMS (Eyo...
👁 36
Resource website typecho001 template

Resource website typecho001 template Program Notes Typecho

typecho001 template template please do not modify the folder name of this template. The folder name is: typecho001 1.4 Fix the js output problem on the article page 1.3 Fix the error prompt when the plug-in is not installed Optimize the list page code output 1.2 Fix the comment function and add a custom homepage title 1.1 Fix the comment reply asymmetry function Add a separate title setting function on the homepage Add the website favicon.ico icon Add one...
👁 198
Responsive Tea Industry News Website Template 0770

Responsive Tea Industry News Website Template 0770 Practical Collection Yiyou template

This EyouCMS responsive template is ideal for tea-related news and information websites. Its classical and elegant design makes it perfect for sharing industry updates, tea culture knowledge, tea tasting experiences, and market insights. It helps tea industry media outlets attract tea enthusiasts and professionals online. Template Display | Installation Instructions | Website Backend: /login.php | Username: admin | Password: admin | Related Articles: Summary of Common Installation Issues for EyouCMS | EyouCMS (E...
👁 66
Modification of typecho paging style

Modification of typecho paging style Program Notes Typecho

Sir, times have changed! Typecho is currently the most perfect solution, because Baidu can only see the code of fixed thinking. The actual generated HTML code is breathtakingly clean and fully customized, including adding classes to the li element, adding classes to the a element, adding classes to the previous page and next page, and removing the li tags that come with typecho to express more. I can even add some text to the content inside...
👁 517