HTML5先行者高级交流群

欢迎加入学习讨论
专注前端,专注网页设计制作及网站开发项目 - (低价承接网站开发项目) QQ:370158739加入收藏RSS
-
2013-12-25 09:53:50
很有用的php函数_PHP教程_编程技术
- 函数 很有用的一些函数,你可以作为源码保存,然后以后避免重复编写。文件读取函式 //文件读取函式 function PHP_Read($file_name) { $fd=fopen($file_name,r); while($bu
-
2013-12-25 09:53:50
一个全面获取图象信息的函数getImageInfo()_PHP教程_编程技术
- 函数 <?php function getImageInfo($img) { //$img为图象文件绝对路径 $img_info = getimagesize($img); switch ($img_info[2]) { case 1: $imgtype = "GIF"; break; cas
-
2013-12-25 09:53:48
如何使用PHP中的字符串函数_PHP教程_编程技术
- 函数|字符串 PHP中的字符串操作功能是比较多的,重要的有以下这些: (1)echo,print,printf,sprintf 前两个函数是输出字符串.字符串中如果有变量名则被替换成其值. 后两个函数
-
2013-12-25 09:53:48
自定义PHP分页函数_PHP教程_编程技术
- 分页|函数 ??每次编写列表性质的页面,几乎都要写上一段分页的程序。最近小阳终于决心一劳永逸??自定义一个分页函数,并保存在“pageft.php”文件里。要用到分页的地方,就直接包含“p
-
2013-12-25 09:53:47
一个阿拉伯数字转中文数字的函数_PHP教程_编程技术
- 函数|中文 最近因需要,写了个“阿拉伯数字转中文数字的函数”。搜索了精华区只见到一个类似的。感觉到我的算法不错,所以贴出来共享一下如果要用于金额的转换,对小数部分的处理要做
-
2013-12-25 09:53:45
写了个函数_PHP教程_编程技术
- 函数 <?php/*** 函数 data_box* 功能 根据模板输出数据源中的内容* 参数* $fun 回调函数,必须提供。作用是从数据源中读取数据。要求返回的最好是关联数组* $source 数据源,必须提
-
2013-12-25 09:53:45
在PHP的图形函数中显示汉字_PHP教程_编程技术
- 函数|汉字|图形|显示 如何在PHP图形函数中显示汉字,大家已经问了很久了,但一直没有结果。终于在参考另一篇文章后,我试验出来了! 方法: 首先,决定要显示哪些汉字,如“计数器”这三个
-
2013-12-25 09:53:44
用在PHP里的JS打印函数_PHP教程_编程技术
- js|打印|函数 auto=1立即PRINT,否则timeOut毫秒后PRINT,如printPage(0,5000); function printPage($auto=1,$timeOut=10000) { if ($auto == 1) { echo " < SCRIPT LANGUAGE="JavaSc
-
2013-12-25 09:53:44
变量的变量,PHP 和 你_PHP教程_编程技术
- 变量 在我最近做的一个项目中,我发现了一个新的概念,关于在PHP中使用变量的变量。在我的程序中,我需要在一个页面同时更新多个记录,在我经过相当长时间的痛苦思索之后,脑海中偶然地闪
-
2013-12-25 09:53:42
一个用数据库的php二级联动_PHP教程_编程技术
- 数据|数据库 <?php /*****************************************************功能:php二级联动菜单***********************作者:冲星***********************************Email:n
-
2013-12-25 09:53:42
如何屏蔽掉 phpinfo() 函数_PHP教程_编程技术
- 函数 在 php.ini 配置文件里面有这个选项disable_functions = ; This directive allows you to disable certain; functions for security reasons. It receives; a comma separa
-
2013-12-25 09:53:41
把从SQL中取出的数据转化成XMl格式_PHP教程_编程技术
- xml|数据 使用了php的PEAR和DB<?php// +----------------------------------------------------------------------+// | PHP version 4.0
-
2013-12-25 09:53:39
example2.php_PHP教程_编程技术
- example2.php <?phpinclude_once("XML/sql2xml.php");$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");$xmlstring = $sql2xmlclass->getxml(
-
2013-12-25 09:53:37
example1.php_PHP教程_编程技术
- example1.php <?phpinclude_once("XML/sql2xml.php");$sql2xmlclass = new xml_sql2xml("mysql://username:password@localhost/xmltest");$xmlstring = $sql2xmlclass->getxml(
-
2013-12-25 09:53:37
3_PHP教程_编程技术
- { if (is_array($value) && ! $delete) { foreach ($value as $suboption => $subvalue)
-
2013-12-25 09:53:36
DOMXML函数笔记_PHP教程_编程技术
- dom|xml|笔记|函数 <?php/** * DOMXML函数笔记 * 连接php_domxml.dll后 * 用get_defined_functions()得到domxml支持函数 * * 目前domxml不支持非iso-8859-1以外的语言声明 * <?x
-
2013-12-25 09:53:36
2_PHP教程_编程技术
- { $this->doXmlString2Xml($string,$xpath); } /** * Adds an additional pear::db_result resultset to $this->xmldoc * * @param Object db_re
-
2013-12-25 09:53:34
VML绘图板②脚本--VMLgraph.js、XMLtool.js_PHP教程_编程技术
- js|xml|脚本 脚本************** VMLgraph.js*************var xo=0;var yo=0;var ox=80;var oy=20;var dx=0;var dy=0;var drawKey = false;var itemID = 0;var ShapeItemNum =
-
2013-12-25 09:53:34
VML绘图板③资源--VMLgraph.xml_PHP教程_编程技术
- xml 资源**************** VMLgraph.xml***************<?xml version="1.0" encoding="GB2312" ?> <root xmlns:v="urn:schemas-microsoft-com:vml"> <toolbar id="1"> <v:
-
2013-12-25 09:53:33
VML绘图板①主控--VMLgraph.htm_PHP教程_编程技术
- 主控**************** VMLgraph.htm***************<html><xmlns:v="urn:schemas-microsoft-com:vml" /><head><meta http-equiv="Content-type" content="text/html; charset=g
-
2013-12-25 09:53:32
VML绘图板⑤浏览--view.php_PHP教程_编程技术
- <html><xmlns:v="urn:schemas-microsoft-com:vml" /><head><meta http-equiv="Content-type" content="text/html; charset=gb2312"><title>VML绘图板</title><style