
php 数字转中文方法
数字转中文方法: function numToWord($num) { $chiNum = array('零', '一', '二', '三', '四', '五', '六', '七', '八', '...
数字转中文方法: function numToWord($num) { $chiNum = array('零', '一', '二', '三', '四', '五', '六', '七', '八', '...
<p>1、文件路径: app/Request.php</p> <pre><code> <?php namespace app; <p>// 应用请求对象类 class Request extends \think\Request { protected $filt...
<p>php 导出csv文件方法</p> <pre><code>public static function exportCsv($data, $titleArr, $fileName = '') { $csv_data = ''; /** 标题 */ ...
<p>伪静态规则的好处就是:可以通过URL重写隐藏应用的入口文件 index.php。</p> <p>由于ThinkPHP版本很多,例如:3.x、5.x、6.x。我这里以ThinkPHP5.0为示例;下面是相关服务器的配置参考:</p> <h2>一、Apache伪静态规则</h2> <p>1、h...
<h2>前言 {#前言}</h2> <p>最近看了看vue3,发现变化还是挺大的,写篇文章来记录一波</p> <h2>vite {#vite}</h2> <h3>vite介绍和用法 {#vite介绍和用法}</h3> <p>Vite是一个由原生<code>ES...
<h3>What {#What}</h3> <p><code>Git</code>是一个开源的分布式版本控制系统</p> <h3>why {#why}</h3> <p>~~因为大家都在用~~</p> <p>好吧,<code>git<...
英文: Problem using environment variables in a VueJs3 + Nuxt3 application 问题 {#heading} ============= I have a Vue.js 3 + Nuxt.js 3 app built, and we have 2 environments: STAGING and PROD...
<p>英文:</p> <p>How to compare current workingspace with previous commit in git?</p> <h1>问题 {#heading}</h1> <p>有时候我在修复错误时,需要将当前存储库与特定提交进行比较,以查看哪些文件正在更...
英文: Multi page Vue app combined with Flask and Nginx - can't run in sub path 问题 {#heading} ============= 我正在运行一个多页面的Vue应用,与Flask连接,运行在Nginx服务器上。我可以正常工作。然而,我将在同一台服务器上运行多个Vue应用程序。 我已...
<p>英文:</p> <p>How can I use htaccess to run a template-like php script with a url pointing to a file that doesn't exist?</p> <h1>问题 {#heading}</h1> &l...