Skip to content
  • About Me

charlie笔记

A programmer’s note boke for work and life

php替换字符串中第n次出现的字符代码

20 6月01 1月 by helenadmin

下面我总结了关于在php开发中一些字符替换方法,包括不用正则直接替换或使用正则替换字符以及利用php自带函数进 […]

Continue reading
Posted in 未分类 · Leave a comment

php函数ob

20 6月01 1月 by helenadmin

文章介绍了php函数ob_start()、ob_end_clean()、ob_get_contents(),有 […]

Continue reading
Posted in 未分类 · Leave a comment

php流程控制

20 6月01 1月 by helenadmin

if语句,switch语句,while循环,do…while循环,for循环,foreach循环,break中 […]

Continue reading
Posted in 未分类 · Leave a comment

使用phpmongodb扩展时比较需要注意的事项

20 6月01 1月 by helenadmin

最近在使用php的mongo 扩展进行数据统计计算,其中有一个时间戳字段,由于精确到了毫秒,长度有13位,但由 […]

Continue reading
Posted in 未分类 · Leave a comment

phpdisplay

20 6月01 1月 by helenadmin

文章总结了php display_errors与log_errors 用法介绍,有需要了解的同学可参考一下本文 […]

Continue reading
Posted in 未分类 · Leave a comment

php入门教程之对象详解(1/5)

20 6月01 1月 by helenadmin

php中对象包括很多内容,如最常用的php类,接口,多态性 魔术方法(:_construct(),_destr […]

Continue reading
Posted in 未分类 · Leave a comment

phpfile

20 6月01 1月 by helenadmin

我们来看php手册讲述关于file_get_contents() 函数把整个文件读入一个字符串中和 file( […]

Continue reading
Posted in 未分类 · Leave a comment

php提示undefinedindex解决方法

20 6月01 1月 by helenadmin

在php开发中经常会出现undefined index这种错误提示,下面我们看看方法总结吧。 平时用$_pos […]

Continue reading
Posted in 未分类 · Leave a comment

php中function的用法

20 6月01 1月 by helenadmin

在我知道的程序语言中关于function这个命令都是用来定义函数的,下面我们来介绍一下关于在php中的func […]

Continue reading
Posted in 未分类 · Leave a comment

php函数之自定义函数介绍

20 6月01 1月 by helenadmin

在 php 中,提供了超过 700 个内建的函数。 php 的函数分为用户自定义函数和系统内置函数。内置函数可 […]

Continue reading
Posted in 未分类 · Leave a comment

详细介绍在php中单引号和双引号的区别

20 6月01 1月 by helenadmin

文章详细的介绍了关于详细介绍在php中单引号和双引号的区别,有需要了解的同学可参考一下。 1、定义字符串    […]

Continue reading
Posted in 未分类 · Leave a comment

php中优化建义与优化代码

20 6月01 1月 by helenadmin

文章总结了关于php中优化建义与优化代码,给php程序员有很好的建义 1、如果能将类的方法定义成static, […]

Continue reading
Posted in 未分类 · Leave a comment

php中四舍五入取整函数详细介绍

20 6月01 1月 by helenadmin

本文章中我们介绍了php中四个常用的取整和四舍五入函数ceil,floor,round,intval ,下面我 […]

Continue reading
Posted in 未分类 · Leave a comment

php入门基础篇-语法

20 6月01 1月 by helenadmin

这是一篇简单的php语法入门篇,有需要的朋友可参考一下。 一、双引号与单引号 变量可以在双引号中执行,但用 d […]

Continue reading
Posted in 未分类 · Leave a comment

php根据变量的类型自动识别echo或dump

20 6月01 1月 by helenadmin

有时我们要输出字符中的变量我们可能会用到dump_var但如果我们想自动输出,我们就需要算定函数了。 代码如下 […]

Continue reading
Posted in 未分类 · Leave a comment

phprand()随机数生成的方法介绍

20 6月01 1月 by helenadmin

在php生成随机数有很多种方法rand()只是其实一种还有mt_rand()这个函数也可以生成,区别我就不说了 […]

Continue reading
Posted in 未分类 · Leave a comment

php中switch语句的用法介绍

20 6月01 1月 by helenadmin

本文章详细的介绍了switch语句在php中用法,以及switch case在条件为0时的处理办法,有需要了解 […]

Continue reading
Posted in 未分类 · Leave a comment

date

20 6月01 1月 by helenadmin

下面来介绍一下date_default_timezone_set设置中国时区方法,函数简单好用有需要的朋友可参 […]

Continue reading
Posted in 未分类 · Leave a comment

php5中session路径配置详解

20 6月01 1月 by helenadmin

本文章来告诉你如何在php5中的php.ini中配置session的详细教程,包括了路径等等一些相关的操作,有 […]

Continue reading
Posted in 未分类 · Leave a comment

phpi++和++i的用法区别

20 6月01 1月 by helenadmin

这个i++和++i的用法主要用于循环中经会常因为用法不对出现一些小错误哦,我们来介绍一下关于i++和++i的区 […]

Continue reading
Posted in 未分类 · Leave a comment

php抽象类简单应用详解

20 6月01 1月 by helenadmin

对于php程序员来说,最为难掌握的一点要数php抽象类应用这一块知识点。作为一个新手其实也还没有到要用面向对象 […]

Continue reading
Posted in 未分类 · Leave a comment

php中echo、print、print

20 6月01 1月 by helenadmin

文章介绍了echo、print、print_r、printf、sprintf、var_dump,有需要了解的朋 […]

Continue reading
Posted in 未分类 · Leave a comment

php中防xss攻击和sql注入详解

20 6月01 1月 by helenadmin

本文章简单的讲述了关于在php中防xss攻击和sql注入详解,有需了解的朋友可以参考一下下。 xss攻击 代码 […]

Continue reading
Posted in 未分类 · Leave a comment

php中拷贝构造函数、赋值运算符重载详解

20 6月01 1月 by helenadmin

本文章详细的介绍了关于php中拷贝构造函数、赋值运算符重载详解,有需要了解的同学可参考一下下哦。 对象的赋值与 […]

Continue reading
Posted in 未分类 · Leave a comment

php简单文件图片批量上传程序代码

20 6月01 1月 by helenadmin

批量上传方法也很简单我们只要在给form时加个name=\”pictures[]\” […]

Continue reading
Posted in 未分类 · Leave a comment

php中直接获取变量值[post,get,cooie]而不$

20 6月01 1月 by helenadmin

本文章介绍了一个全局的也是大家常用的一个php获取变量值的方法,有需要的朋友可以参考一下。 代码如下 这里我们 […]

Continue reading
Posted in 未分类 · Leave a comment

php中变量和变量定义

20 6月01 1月 by helenadmin

关于php变量 的简单说明和定义常量define 普通变量 静态变量 传地址赋值(简单引用) php 超全局变 […]

Continue reading
Posted in 未分类 · Leave a comment

php数组循环输出实现方法

20 6月01 1月 by helenadmin

以前我们经常会想怎么来实现php数组循环输出来,本文章来介绍了利用php中常用的四种循环语句来实现单数组或多维 […]

Continue reading
Posted in 未分类 · Leave a comment

php中时区误差的设置方法

20 6月01 1月 by helenadmin

php用户的是林威治标准时间,所以与北京时间相关8小时,很多朋友在利用php date,time获取时间时都会 […]

Continue reading
Posted in 未分类 · Leave a comment

php中数组之数据类型详解

20 6月01 1月 by helenadmin

在php中数组可以存放值可以是任意的 php 类型,如果对给出的值没有指定键名,则取当前最大的整数索引值,而新 […]

Continue reading
Posted in 未分类 · Leave a comment

文章导航

Previous 1 … 56 57 58 59 60 61 62 63 64 65 66 … 260 Next

近期文章

  • 15款互联网人必备的AI工具,效率提升2倍
  • 多个ChatGPT通用指令
  • Python采集biaozhun政府文件
  • TensorFlow库:Python中的深度学习
  • python 本地密码管理应用

近期评论

  • helenadmin发表在《Python采集biaozhun政府文件》
  • helenadmin发表在《写给程序员的一封公开信》
  • Google发表在《About Me》
  • helenadmin发表在《ES(ElasticSearch)分布式全文搜索引擎及使用方式》
  • buy viagra发表在《About Me》

文章归档

  • 2024年12月
  • 2024年9月
  • 2024年6月
  • 2024年5月
  • 2024年3月
  • 2024年2月
  • 2024年1月
  • 2023年12月
  • 2023年11月
  • 2023年10月
  • 2023年9月
  • 2023年8月
  • 2023年7月
  • 2023年6月
  • 2023年5月
  • 2023年4月
  • 2023年3月
  • 2023年2月
  • 2023年1月
  • 2022年12月
  • 2022年8月
  • 2022年7月
  • 2022年6月
  • 2022年5月
  • 2022年4月
  • 2022年3月
  • 2022年2月
  • 2022年1月
  • 2021年12月
  • 2021年11月
  • 2021年10月
  • 2021年9月
  • 2021年8月
  • 2021年7月
  • 2021年6月
  • 2021年5月
  • 2021年4月
  • 2021年3月
  • 2021年1月
  • 2020年12月
  • 2020年11月
  • 2020年10月
  • 2020年9月
  • 2020年8月
  • 2020年7月
  • 2020年6月
  • 2020年5月
  • 2020年4月
  • 2020年3月
  • 2020年2月
  • 2020年1月
  • 2019年12月
  • 2019年11月
  • 2019年10月
  • 2019年9月
  • 2019年8月
  • 2019年7月
  • 2019年6月
  • 2019年5月
  • 2019年4月
  • 2019年3月
  • 2019年2月
  • 2019年1月
  • 2018年12月
  • 2018年11月
  • 2018年10月
  • 2018年9月
  • 2018年7月
  • 2018年6月
  • 2018年3月
  • 2018年2月
  • 2018年1月
  • 2017年12月
  • 2017年11月
  • 2017年10月
  • 2017年9月
  • 2017年8月
  • 2017年7月
  • 2017年6月
  • 2017年5月
  • 2017年4月
  • 2017年3月
  • 2017年1月
  • 2016年12月
  • 2016年11月
  • 2016年10月
  • 2016年9月
  • 2016年8月
  • 2016年7月
  • 2016年6月
  • 2016年5月
  • 2016年4月
  • 2016年3月
  • 2016年2月
  • 2015年8月
  • 2015年7月
  • 2015年6月
  • 2015年5月
  • 2014年7月
  • 2014年6月
  • 2014年5月
  • 1970年1月

分类目录

  • Database
  • focus—-实时热搜
  • IC设计
  • js&jquery
  • PHP
  • Python
  • 新技术研习
  • 服务器相关技术
  • 算法
  • 缓存技术
  • 随笔

功能

  • 注册
  • 登录
  • 文章RSS
  • 评论RSS
  • WordPress.org
© 2025 charlie笔记 ·
程序猿 散文朗诵 鬼故事 佛学网