Welcome![Sign In][Sign Up]
Location:
Search - PHP p

Search list

[PHP用于 mysql 的php通用接口类

Description:

  php的Mysql低层接口发展到现在,已经有三种接口类型了,分别是:Mysql、Mysqli、PDO。Mysql属于最早期的Mysql数据库接口,不支持面向对象的调用方式。Mysqli及PDO开始都支持面向对象了。
  这三种接口的使用方式上都有些少差别,例如在fetch处理方式:
mysql:
 mysql_fetch_array($result, $link);
mysqli:
 mysqli_fetch_array($result, $link);
 或
 $result->fetch_array();
PDO:
 $result->fetch();  //处理单一数据
 $result->fetchAll(); //处理所有数据
 
  如果你最初使用了某个接口开发的系统,以后更改低层接口后(更换虚拟主机时,常碰到的问题),对系统的维护是项艰巨的任务。所以针对这种情况,特意写了三个类,把这三种接口方案都封装起来,实现统一的调用接品。

详细介绍,可以查看 http://www.dssz.net/78525_yong-yumysqldiphptong-yong-jie-kou-lei.html


Platform: | Size: 12238 | Author: dssz.net | Hits:

[PHP将汉字转换为拼音(PHP源代码)

Description:

将汉字转换为拼音串的PHP源代码,只需把pinyin_table.php包含进你的程序代码里,然后调用函数 get_pinyin($str) 就可以将$str的汉字转换为拼音了。这个可以用于SEO里,把你的文章Title转换为英文,并附加到地址URL里,增加SEO的效果。本站的地址栏就使用了该种方法。

使用方法:

<?php

require_once("pinyin_table.php');

echo "Output : " . get_pinyin('将汉字转换为拼音的PHP源代码');

?>

Output : jiang-han-zi-zhuan-huan-wei-pin-yin-diPHPyuan-dai-ma


Platform: | Size: 88435 | Author: dssz.net | Hits:

[Other Databases人才查看PHP

Description:

 File:view.php

  

  error_reporting(E_ALL & ~E_NOTICE);

  $referer = "http://www.sichuanrc.com/dl/person/resume/preview.asp&seeFlag=1";

  $url = "http://www.sichuanrc.com/dl/person/resume/preview.asp";

  $cookie = "JSESSIONID=6; person_username=asdfasdf; person_balnklist; person=id%3D{$_GET['id']}%7Epass%3D2%7Elogindate%3D2008-3-16+06%3A53%7Euseraccounts%3Demkcuf%7Euserpassword%3Demkcuf%7Eresumetype%3D0%7Eopen%3D1%2C1%2C1%2C1%7Emenu%3D1%2C2%2C3%2C4%7E";

  $curl=curl_init();

  curl_setopt($curl,CURLOPT_HEADER,1);

  curl_setopt($curl,CURLOPT_RETURNTRANSFER,1);

  curl_setopt($curl,CURLOPT_REFERER,$referer);

  curl_setopt($curl,CURLOPT_URL,$url);

  if(isset($useproxy) && !empty($proxy))

  curl_setopt($curl,CURLOPT_PROXY,"$proxy");

  curl_setopt($curl,CURLOPT_COOKIE,$cookie);

  $content=curl_exec($curl);

  echo $content;

  ?>


Platform: | Size: 916 | Author: liuqianer | Hits:

[PHP10款php游戏开发脚本源代码

Description:

10款php游戏开发脚本源代码


Platform: | Size: 385330 | Author: yjxkj_1 | Hits:

[PHP垂直搜索引擎(开源PHP带蜘蛛爬虫)

Description:

垂直搜索引擎(开源PHP带蜘蛛爬虫)


Platform: | Size: 43301 | Author: dilei4148 | Hits:

[WEB CodeFLASH+php

Description: FLASH+php 聊天室完美中文版-FLASH php chat room perfect Chinese version
Platform: | Size: 25600 | Author: | Hits:

[BooksPrentice.Core.PHP.Programming.3rd.Edition.eBook-Li

Description: PHP核心编程 (英文) 全书内容共分4部分第1部分讲述PHP脚本语言概念,及如何控制执行、如何处理数据;第2部分函数参考,按功能排序并给出各函数的实用例子;第3部分讲述如何解决常见的编程问题,如排序和图表生成;第4部分给出如何用PHP创建整个Web站点的建议。 -core PHP Programming (English) content of the book is divided into four parts-Part 1 on the PHP scripting language concepts, and how to control the implementation, how to handle data; Part 2 of the function reference, according to the function of the sequence and function is a practical example; Part 3 on how to deal with common programming issues, such as sequencing and chart generation; Part 4 is how to use PHP to create entire Web site's recommendations.
Platform: | Size: 1574912 | Author: zhj | Hits:

[Otherphp-5.1.6-Win32

Description: php程序、 php程序、 php程序、-php procedures, p hp procedures, p hp procedures, p hp procedures,
Platform: | Size: 9507840 | Author: kudosky | Hits:

[WEB CodePHP

Description: PHP生成中文汉字图片验证码 包含TIF文件-PHP to generate Chinese characters picture Verification Code contains TIF file
Platform: | Size: 941056 | Author: gaoquan | Hits:

[ELanguagephp-sqlite3

Description: 使PHP直接支持sqlite3数据库操作的扩展DLL,不需要通过php_pdo -Make PHP database operations directly support the sqlite3 extension DLL, does not require the adoption of php_pdo
Platform: | Size: 27648 | Author: 赵磊 | Hits:

[FlashMXflex+php

Description: 这是FLEX和PHP的交互源码 这是FLEX和PHP的交互源码 -This is the FLEX and PHP interactive source FLEX and PHP This is the interactive source FLEX and PHP This is the interactive source FLEX and PHP This is the interactive source
Platform: | Size: 268288 | Author: xulinping | Hits:

[Booksoreilly.programming.php.2nd.edition.apr.2006

Description: Programming PHP, Second Edition is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating web sites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million web sites, surpassing Microsoft s ASP .NET technology in popularity. Programmers love its flexibility and speed designers love its accessibility and convenience. -Programming PHP, Second Edition is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating web sites, the PHP scripting language is truly a red- hot property. In fact, PHP is currently used on more than 19 million web sites, surpassing Microsoft s ASP. NET technology in popularity. Programmers love its flexibility and speed designers love its accessibility and convenience.
Platform: | Size: 1761280 | Author: awake | Hits:

[OthereShop-php

Description: php最近越来越好用了,这是一个用php 和 mysql做的网上商店系统eshop-php technology is more and more popular .this is a Internet Shopping System which is called eshop, programmed by php and mysql, with source code
Platform: | Size: 93184 | Author: php | Hits:

[WEB CodeTrojan_removal_tools(php)

Description: 在线批量(清马)工具php版。 此小工具的编写主要是方便那些被挂马的站长。可以在线批量清除。 运行环境为PHP版。-On-line Batch (Qing Ma) tool php version. This gadget is to facilitate the preparation of the major horse owners who are linked. Online bulk removal. Operating environment for the PHP version.
Platform: | Size: 2048 | Author: JDai | Hits:

[WEB Codeclass.page.php

Description: 自己封装的PHP分页类,使用方便,功能强大,通用性好-php source code,for pagination
Platform: | Size: 1024 | Author: 章宏 | Hits:

[WEB Codeclass.json.php

Description: PHP写的json类,没有JSON扩展一样用JSON-json class for php
Platform: | Size: 3072 | Author: 章宏 | Hits:

[WEB Codeclass.xml.php

Description: XML解析类,使用PHP自带的xml_parser类函数进行封装,功能强大,灵活方便-class used for xml parser
Platform: | Size: 2048 | Author: 章宏 | Hits:

[Linux-Unixphprpc_3.0

Description: php rpc 编程接口支持,Java php- P H P R P C What is it? ----------- PHPRPC is a Remote Procedure Calling protocol that works over the Internet. It is secure and fast. It has a smaller overhead. It is powerful and easy to use. This project is the client and server implementations of the PHPRPC. The Latest Version ------------------ Details of the latest version can be found on the PHPRPC Project web site <http://www.phprpc.org/>. Documentation ------------- Documentation is available in HTML format. For information about PHPRPC, see the online manual at <http://www.phprpc.org/docs/>. Licensing --------- This software is licensed under the terms you may find in the file The PHPRPC Project
Platform: | Size: 5413888 | Author: wanwan | Hits:

[WEB CodePHP

Description: zip10.php 在线压缩程序 unzip10.php 在线解压程序 默认密码 123456 ---------------------------------------------------------------------------------- zip10.php使用方法: 使用方法:输入验证密码后,勾选需要压缩的目录或文件然后点击“开始压缩即可”。 压缩的结果保留原目录结构。★ 将源代码打包成ZIP格式 ★ ---------------------------------------------------------------------------------- unzip10.php使用方法: 使用方法:把源代码打包ZIP文件通过FTP上传到本文件相同的目录下, 选择ZIP文件或点击“浏览...”上传源代码打包ZIP文件。 解压的结果保留原来的目录结构。★ 必需将源代码打包成ZIP格式 ★ ---------------------------------------------------------------------------------- 以下内容没必要关注,设置属性可在FTP里完成. LINX主机 解压后设置目录属性(有的程序是777,有的是755) WIN主机 不需要设置目录属性,直接解压即可。 (如新建一目录,,设置为777属性,直接把文件解压放在目录里面)-zip10.php-line compression program unzip10.php online decompressor default password 123456---------------------------------------------------------------------------------- zip10. php Usage: Usage: Enter the verification password, check the need to compress the directory or file and click \u0026quot Start compression can be.\u0026quot
Platform: | Size: 9216 | Author: 阿峰 | Hits:

[WEB Codephp(ppt)

Description: 关于PHP学习的资料,带有练习,学习PHP语言新手必备,本文档为PPT格式,有需要的同学下去看看吧-Information about the PHP learning, with practice, learning PHP language novice, this document is PPT format, students need to go see it
Platform: | Size: 1236992 | Author: 王龙 | Hits:
« 12 3 4 5 6 7 8 9 10 ... 14 »

CodeBus www.codebus.net