current location:Home > Technical Articles > PHP Framework > ThinkPHP
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to hide index.php in tp3
- How to hide index.php in tp3: 1. Find and open the "Application/Common/Conf/config.php" file; 2. Turn on REWRITE mode by modifying "return array('URL_MODEL'=> 2,);".
- ThinkPHP 1356 2023-03-03 10:18:36
-
- The latest ThinkPHP6.1.2 version is compatible with PHP8.2!
- This article brings you relevant knowledge about ThinkPHP. It mainly introduces what updates are there in the latest ThinkPHP6.1.2 version? Friends who are interested can take a look below. I hope it will be helpful to everyone.
- ThinkPHP 2039 2023-02-10 19:56:05
-
- Quickly solve the MISS cache miss problem in ThinkPHP5.1
- This article brings you relevant knowledge about ThinkPHP5.1. It mainly introduces what CDN is? Why use it? How to solve the ThinkPHP5.1 MISS cache miss problem? Friends who are interested can take a look below. I hope it will be helpful to everyone.
- ThinkPHP 1515 2023-02-08 19:47:09
-
- The road to penetration testing: ThinkPHP vulnerability recurrence
- This article brings you relevant knowledge about ThinkPHP, which mainly introduces the relevant content about the recurrence of ThinkPHP vulnerabilities. Let’s take a look at it together. I hope it will be helpful to everyone.
- ThinkPHP 2621 2023-01-04 21:28:32
-
- How to close thinkphp trace
- How to close thinkphp trace: 1. Add "define(APP_DEBUG, false);" to the entry file index.php; 2. Add "'SHOW_PAGE_TRACE' = false" to the config.php configuration file; 3. Delete the cache folder Runtime, just refresh the page.
- ThinkPHP 2014 2022-12-21 09:57:43
-
- How to query by name in thinkphp
- In thinkphp, you can query by name by fuzzy querying the LIKE keyword. The implementation code is such as "$data['name']=array('LIKE','%Cheng Huan%');$arr= $m-> where($data)->select();var_dump($arr);", this statement means to query the information of people whose names contain "Cheng Huan".
- ThinkPHP 1807 2022-12-21 09:34:47
-
- How to install third-party libraries in thinkphp
- How to install third-party libraries in thinkphp: 1. Download the sdk and put the sdk in the extend directory; 2. Introduce “require_once ‘…/extend/aipbaidusdk/AipNlp.php’;” into the controller.
- ThinkPHP 2504 2022-12-21 09:24:12
-
- Record how thinkphp5.1 uses Topsdk\Topapi (picture and text)
- This article is written by thinkphp tutorial column to introduce you to tp5.1 related knowledge. It mainly records how tp5.1 uses Topsdk\Topapi (connecting with Taobao open platform). I hope it will be helpful to friends in need!
- ThinkPHP 1634 2022-12-20 18:20:03
-
- How does thinkphp access different templates based on the device?
- How thinkphp accesses different templates according to the device: 1. Put "function isMobile(){...}" in the "app\common.php" public method; 2. Set the prefix operation in the public method under the index module ; 3. If it is judged to be true, execute the "mobile/index" method, otherwise execute another PC-side controller operation.
- ThinkPHP 1647 2022-12-20 10:14:58
-
- How to annotate routes in thinkphp
- How to annotate routes in thinkphp: 1. Open the corresponding tp file; 2. Pass "/* @route('test')*/class Test extends Controller{public function index(){return 'index';...}" Just use the method to annotate resource routing.
- ThinkPHP 1059 2022-12-20 09:56:27
-
- How to get the requested URL in thinkphp5
- Methods for thinkphp5 to obtain the requested URL: 1. Use the "$request = Request::instance();" method of the "\think\Request" class to obtain the current URL information; 2. Use the built-in helper function "$request-> url()" to obtain the complete URL address including the domain name.
- ThinkPHP 2131 2022-12-20 09:49:00
-
- How to receive query parameters in thinkphp5
- How thinkphp5 receives query parameters: 1. Define two arrays, one for passing parameters in pages, and one for querying the total number of records; 2. Receive query parameters through "input('starting_address')" or pass them directly in paginate parameters.
- ThinkPHP 1912 2022-12-20 09:32:16
-
- How to remove thinkphp5 title bar icon
- How to remove the thinkphp5 title bar icon: 1. Find the favicon.ico file under the thinkphp5 framework public; 2. Delete the file or choose another picture to rename it to favicon.ico and replace the original favicon.ico file.
- ThinkPHP 1617 2022-12-20 09:24:04
-
- How to write thinkphp admin
- The writing method of thinkphp admin is "<?php namespace app\admin\controller;class Index{public function index(){return '...';}}"; there is an index.php file in the public directory of thinkphp5, copy And rename it to admin.php.
- ThinkPHP 1374 2022-12-20 09:08:10
-
- What should I do if I get an error when deploying thinkphp5 in Pagoda?
- Solution to the error reported when deploying thinkphp5 in Pagoda: 1. Open the Pagoda server, install the php pathinfo extension and enable it; 2. Configure the ".access" file with the content "RewriteRule ^(.*)$ index.php?s=/$1 [QSA ,PT,L]”; 3. In website management, just enable thinkphp’s pseudo-static.
- ThinkPHP 1730 2022-12-19 11:04:58