lnlidawei

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

随笔分类 -  web

网站开发相关内容
摘要:[web] PHP之数据分页(数据库查询返回值分页显示) 一、环境 -- os: ubuntu2504 -- server: nginx + php8.4 + php8.4-fpm 二、源码 [wit@ubuntu:html]$ cat page.php <?php // page = page_i 阅读全文
posted @ 2025-08-14 23:00 lnlidawei 阅读(6) 评论(0) 推荐(0)

摘要:[ubuntu2504] python venv (flask+sqlite/mariadb+sqlalchemy+gunicorn+gevent) 一、创建虚拟环境的脚本(python) [wit@ubuntu:venv]$ cat create_venv #!/usr/bin/bash func 阅读全文
posted @ 2025-06-09 14:42 lnlidawei 阅读(26) 评论(0) 推荐(0)

摘要:【web】分页_后端实现_PHP_(转载) 一、文章内容 在网页设计中,实现分页功能通常是为了优化用户体验,特别是在展示大量数据时。分页可以有效地减少一次性加载的数据量,从而提高页面加载速度和性能。在PHP中实现分页通常涉及到以下几个步骤: 1. 确定每页显示的数据条数 首先,你需要决定每页应该显示 阅读全文
posted @ 2025-04-19 16:51 lnlidawei 阅读(49) 评论(0) 推荐(0)

摘要:[nginx]:【root】之设置根目录的权限 一、 nginx_root:(为【root目录】设置权限) 1、 nginx_root_path := /www/html/ 2、 nginx_root【设置属组】: -- 【主选】: chown -R root:root /www/html/ -- 阅读全文
posted @ 2025-02-13 00:32 lnlidawei 阅读(69) 评论(0) 推荐(0)

摘要:[web]: HTML 测试模板 一、HTML 测试模板内容 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>测试模板</title> <script src="https://code.jquery.com/jquery-3. 阅读全文
posted @ 2024-03-30 15:58 lnlidawei 阅读(47) 评论(0) 推荐(0)

摘要:[web]: javascript 常用资源(es/jquery/vue/vue-axios/vue-router) 一、正文内容 [ ES: ECMAScript(javascript) ] official_home := https://ecma-international.org/ offi 阅读全文
posted @ 2024-03-30 15:38 lnlidawei 阅读(19) 评论(0) 推荐(0)

摘要:web: lamp - ubuntu2310 一、基础说明 1、lamp说明: L = linux, A = apache2, M = mariadb(mysql), P = php 二、安装包安装 1、安装命令: [wit@ubuntu:null]$ sudo apt install mariad 阅读全文
posted @ 2023-11-29 01:08 lnlidawei 阅读(23) 评论(0) 推荐(0)

摘要:web: nginx + php 环境配置(ubuntu) 0、重要提示: 1、守护线程nginx和php8.1-fpm,修改配置以后需要重启(sudo systemctl restart nginx; sudo systemctl restart php8.1-fpm) 2、守护线程nginx和p 阅读全文
posted @ 2023-10-24 06:12 lnlidawei 阅读(930) 评论(0) 推荐(0)

摘要:apache: config virtual host - apache2.4 - rockylinux9.0 1. httpd.conf( /etc/httpd/conf/httpd.conf; apache2.4) #httpd.conf position: /etc/httpd/conf/ht 阅读全文
posted @ 2023-02-16 22:29 lnlidawei 阅读(34) 评论(0) 推荐(0)

摘要:LAMP 环境搭建(LAMP, L=Linux, A=httpd(apache), M=MariaDB, P=PHP) 一、操作系统 1、openeuler: Linux openeuler 5.10.0-60.18.0.50.oe2203.x86_64 二、lamp环境安装 1、[root@ope 阅读全文
posted @ 2022-07-11 16:56 lnlidawei 阅读(250) 评论(0) 推荐(0)

摘要:html:jQuery 添加class的值以及事件响应 一、测试环境 菜鸟教程(https://www.runoob.com):https://www.runoob.com/try/try.php?filename=tryjquery_hide_p 二、测试内容:将下面代码,复制到测试环境的左侧的源 阅读全文
posted @ 2022-06-13 06:59 lnlidawei 阅读(273) 评论(0) 推荐(0)

摘要:本文转载自:Wuliwawa ,原文地址:https://www.cnblogs.com/wuliwawa/p/11944112.html firewall-cmd网络端口管理 一、基本命令 1、查看版本: firewall-cmd --version 2、查看帮助: firewall-cmd -- 阅读全文
posted @ 2022-03-26 17:02 lnlidawei 阅读(131) 评论(0) 推荐(0)

摘要:apache虚拟机配置(xampp) 一、xampp(网站集成环境) 1、xampp官网地址:https://www.apachefriends.org/index.html 2、xampp下载地址(官方):https://www.apachefriends.org/download.html 3、 阅读全文
posted @ 2022-03-23 23:34 lnlidawei 阅读(198) 评论(0) 推荐(0)

摘要:本文转载自菜鸟教程(https://www.runoob.com/vue3/vue3-routing.html)。 VUE的路由 一、源代码如下 <!DOCTYPE html><html><head> <meta charset="utf-8"> <title>Vue 测试实例 - 菜鸟教程(run 阅读全文
posted @ 2022-03-23 04:43 lnlidawei 阅读(55) 评论(0) 推荐(0)

摘要:dom基础元素 一、html-dom基础元素 二、xml-dom基础元素 阅读全文
posted @ 2022-03-20 18:11 lnlidawei 阅读(29) 评论(0) 推荐(0)

摘要:网站开发:前端和后端 一、网站历史: 网页分为两类:静态网页和动态网页。静态网页,只有通过修改网页源码才能更新网页内容。动态网页,在不修改网页源码的情况下,就能更新网站内容。 动态网页分为两部分内容:静态(不变)内容和动态(变化)内容。静态内容,相当于“静态网页”,只有通过修改网页源码才能修改这部分 阅读全文
posted @ 2022-03-20 04:39 lnlidawei 阅读(515) 评论(0) 推荐(0)

摘要:1、路由:路由的作用就是解析URL,调用对应的控制器(的方法,并传递参数)。 1.0、在web开发中,“route”是指根据url分配到对应的处理程序。 1.1、在web开发中,route,将“url”和“它的处理程序”进行绑定。 1.2、在web开发中,route,在“url”和“处理程序”之间建 阅读全文
posted @ 2021-12-06 04:06 lnlidawei 阅读(176) 评论(0) 推荐(0)

摘要:网站开发资源站 国内资源站: https://www.staticfile.org/ 国外资源站: https://cdnjs.com/ 阅读全文
posted @ 2021-11-13 22:53 lnlidawei 阅读(80) 评论(0) 推荐(0)