-
PHPMailer发送邮件 SMTP 错误:无法连接到 SMTP
[PHP教程] 2022-01-21 13:53:51 188人阅读
PHPMailer是一个邮件发送插件有很多朋友使用它来发邮件,但也有不少朋友在使用期PHPMailer发邮件时就碰到SMTP 错误:无法连接到 SMTP 主机错(www.Cuoxin.com)误了,出现这种问题我们从几个点来分享,一个是邮箱配置有问...[详细]
-
php版淘宝网查询商品接口代码
[PHP教程] 2022-01-21 13:53:26 55人阅读
下面来给大家介绍一个php版淘宝网查询商品接口代码的例子,下面要(www.Cuoxin.com)改成你的信息的在代码后面都有说明了,同时sdk包我们也要官方下载. 其实我也没做什么只是把标准事例改了下,请下载SDK包解压后与该文件...[详细]
-
php+ajax实现图片文件上传实例代码
[PHP教程] 2022-01-21 13:53:08 112人阅读
现在我们常用的异步文件上传功能有几种,如我最初使用的是使用iframe框架形式了效果是一样的,到后来的真正的aj(www.Cuoxin.com)ax功能效果,到最后的flash+php功能,下面我介绍ajax与iframe实现异步文件上传的功能...[详细]
-
xdebug调试PHP程序的学习笔记
[PHP教程] 2022-01-21 13:52:45 197人阅读
xdebug是一款常用来调试php程序的一个性能的工具,下面本文章介绍在lnmp系统安装配置xdebug与最后简单调试方法,还有在调试过程碰到一些问题解决办法. xdebug 安装步骤 xdebug是php的一个module,需要编译安装,我用lnmp...[详细]
-
php快速导出csv格式数据程序代码
[PHP教程] 2022-01-21 13:52:27 135人阅读
导出csv数据很简单因为csv格式的数据就是一个文本类型了,我们要导入到只要以,号分开它们数据就可以了,然后再利用header输入csv格式或者excel格式就可以了. csv文件格式,代码如下 $exportdata = 规则111,有效期.\n; ...[详细]
-
php 彩色云标签程序代码
[PHP教程] 2022-01-21 13:52:08 157人阅读
今天对网站进行一个改正了发现网站有一块空的地方,想了半天发现很多博客有云标签了,想想了自己也来实现这个功能吧,下面我就以本站首页效果为例子来给大家介绍一下php 彩色云标签实现程序. 我们定义10个不这彩色css然...[详细]
-
php中socket实现GET与POST异步提交数据
[PHP教程] 2022-01-21 13:51:42 65人阅读
在使用php socket时我们需要先开启socket扩展了,我们可以使用phpinfo();查看是否开启了socket扩展,否则在php.ini中开启了,如果没有开启我们可以参考下面方法来设置. windows 系统中socket扩展 windows 下可以直接修...[详细]
-
PHP自动批量生成会员卡号程序
[PHP教程] 2022-01-21 13:51:08 95人阅读
当我们要将一个庞大的数据进行编号时,而编号有位数限制,比如5位的车牌号、10位的某证件号码、订单流水号、短网址等等,我们可以使用36进制计算出符合位数的不重复的编号. 我们将0-Z(0123456789ABCDEFGHIJKLMNOPQRSTUV...[详细]
-
php+jquery完成无限级目录遍历展示代码
[PHP教程] 2022-01-19 15:15:21 100人阅读
这个例子可以利用php目录遍历出来的目录或文件进行一个树型的展示效果,程序代码,index.php 里面的jquery文件大家可百度下载一个,因为这是用来实现一个效果的: index.php: script src=jquery/jquery-1.3.1.js type=te...[详细]
-
PHP进程锁类PHPLock程序代码
[PHP教程] 2022-01-19 15:14:54 128人阅读
为了更好的控制php程序同时操作的一些问题我整理了一个进程锁的类我们可以利用这个进程锁实现程序的控制,程序代码如下: ?php //+---------------------------------------------- //| Usage: //+-------------------...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]