-
phplot生成图片类解析
[PHP教程] 2022-02-15 16:00:54 133人阅读
我个人使用的是phplot,它是一个利用php的图象函数编写的一个自动生成类,首先申明我对他也只是了解. 在原来的有些版本好象还需要多方面的配置和支持,不过现在都用的是php5系列了,大家只要了解一些常用到的函数,...[详细]
-
php存储例程 存储过程入门方法
[PHP教程] 2022-02-15 16:00:15 153人阅读
什么是存储例程? 存储例程是存储在数据库教程服务器中的一组sql语句,通过在查询中调用一个指定的名称来执行这些sql语句命令。 为什么要使用存储过程? 我们都知道应用程序分为两种,一种是基于web,一种是基于桌面...[详细]
-
php SOAP WSDL简单应用示例
[PHP教程] 2022-02-15 15:59:46 78人阅读
php SOAP WSDL简单应用实例: ?php $ws = http://www.Cuoxin.com/sd/2001/TemperatureService.wsdl; $zipcode = 23590; $client = new SoapClient($ws,array(trace = 1)); $temperature = $client-getTemp($zipcode);...[详细]
-
php做的基础中文分词代码
[PHP教程] 2022-02-15 15:59:23 64人阅读
中文搜索引擎来说,中文分词是整个系统最基础的部分之一,因为目前基于单字的中文搜索算法并不是太好,当然,本文不是要对中文搜索引擎做研究,而是分享如果用 PHP 做一个站内搜索引擎,本文是这个系统中的一篇. 进行中文...[详细]
-
php Ajax完成异步文件上传的代码
[PHP教程] 2022-02-15 15:58:59 128人阅读
1:取得file对象 2:读取2进制数据 3:模拟http请求,把数据发送出去(这里通常比较麻烦) 在forefox下使用 xmlhttprequest 对象的 sendasbinary 方法发送数据; 4:完美实现 遇到的问题 目前仅有 firefox 可以正确上传...[详细]
-
php curl 功能简介和抓取163邮件列表
[PHP教程] 2022-02-15 15:58:23 166人阅读
如果你看到的话,那么你需要设置你的php教程并开启这个库,如果你是在windows平台下,那么非常简单,你需要改一改你的php.ini文件的设置,找到php_curl.dll,并取消前面的分号注释就行了,如下所示: 取消下在的注释 extensi...[详细]
-
php获取flash文件高宽帧数背景颜色代码
[PHP教程] 2022-02-15 15:57:56 175人阅读
?php /* 示例: $file = /data/ad_files/5/5.swf; $flash = new flash(); $flash = $flash-getswfinfo($file); echo 文件的宽高是:.$flash[width].:.$info[height]; echo 文件版本是.$flash[version]; echo 文件帧数...[详细]
-
php自动获得关键字代码
[PHP教程] 2022-02-15 15:57:31 168人阅读
$mincipin=5;//最小词频 $minlen=4;//关键字最小长度 tiqukeyword($tiqustr,$minlen,$mincipin); function tiqukeyword($tiqustr,$minlen,$mincipin) {$strlong=strlen($tiqustr); $arr=array(); $k=-1; for($i=0;$i...[详细]
-
jquery php百度搜索框智能提醒效果
[PHP教程] 2022-02-15 15:55:57 194人阅读
这个程序是利用php+ajax+jquery 实现的一个仿baidu智能提示的效果,有需要的朋友可以下载测试,代码如下: index.html文件,保保存成index.htm,代码如下: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN ...[详细]
-
好用的php购物车程序
[PHP教程] 2022-02-15 15:55:25 91人阅读
以前有用过一个感觉不错,不过看了这个感觉也很好,所以介绍给需要的朋友参考一下,实例代码如下: ?php //调用实例 require_once cart.class.php; session_start(); if(!isset($_SESSION[cart])) { $_SESSION[cart] = n...[详细]
- 这篇文章主要介绍了Laravel 5.0 发布 新版本特性详解,...[详细]
- 计算两个日期之间的时间差需要先把两个日期转换成纪元...[详细]
- 初步使用面向对象程序设计,要掌握的就是使用面向对象...[详细]
- 每个 PHP 数组内部都有一个指针,该指针指向数组的某...[详细]
- 因为 PHP 是一个 Web 编程语言,在编程过程中难免会遇...[详细]
- PHP 中提供了 return 语句来返回函数的运行结果,其语...[详细]
- final 关键字的作用如下: 使用 final 修饰的类,不能...[详细]
- 在使用 switch 语句时应该注意以下几点: 和 if 语句...[详细]
- 这篇文章主要给大家介绍了关于PHP替换Word中变量并导...[详细]
- 这篇文章主要介绍了PHP常量DIRECTORY_SEPARATOR原理及...[详细]