随笔分类 - PHP
摘要:add_action('admin_menu','add_settings_menu'); function add_settings_menu() { add_menu_page('自定义菜单标题', '自定义菜单', 'manage_options', 'my-top-level-slug');
阅读全文
摘要:/** * [将Base64图片转换为本地图片并保存] * @param $base64_image_content [要保存的Base64] * @param $path [要保存的路径] * @return bool|string */ public function base64_image_
阅读全文
摘要:<?php namespace app\index\controller; use think\Controller; class Excel extends Controller{ public function read(){ vendor("PHPExcel"); $excel = 'zwor
阅读全文
摘要:$ret = preg_replace_callback("/\\\u([0-9a-f]{4})/i", function ($match) { // 不转义中文 return json_decode("\"{$match[0]}\"", true); }, json_encode($agentLi
阅读全文
摘要:http://www.5idev.com/p-php_regular_syntax_1.shtml
阅读全文
摘要:https://docs.topthink.com/think-api/1835085
阅读全文
摘要:https://learnku.com/docs/laravel/7.x/routing/7458
阅读全文
摘要:<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f
阅读全文
摘要:https://windows.php.net/download/ https://windows.php.net/downloads/releases/archives/
阅读全文