php 948

#PHP
各位大神帮忙看下这段代码如何解密

<?php /* http://heirui.taobao.com */error_reporting(0);ini_set("display_errors", 0);if(…

2015-12-15 315

#PHP
git 使用测试代码

<?php class TestController { public function __construct() { } public function index() …

2015-12-15 510

#PHP
php 压缩图片

/*打开图片*/ $src = "aa.jpg"; $info = getimagesize($src); $type = image_type_to_extension($inf…

2015-12-15 848

#PHP
PHP数组格式的所有名族代码和名称

<?php return array( 'NATION' => array( 'HAN' => array( 'name' => '汉族', 'code' …

2015-12-15 188

#PHP
防止sql注入

function inject_check($sql_str) { return eregi('select|insert|and|or|update|delete|\'|\/\*…

2015-12-15 177

#PHP
apc缓存

Functions to update arrays and get the values from an unique key. <?php function apc_ar…

2015-12-15 358

#PHP
封装 Twitter 访问的 PHP 类

<?php class Twitter { /** * Method to make twitter api call for the users timeline in X…

2015-12-15 985

#PHP
AES CBC

class AES_CBC_NoPadding { private $iv; private $key; private $blocksize; public function _…

2015-12-15 415

#PHP
15个实用的PHP正则表达式

原文出处: 5iDev 对于开发人员来说,正则表达式是一个非常有用的功能,它提供了 查找,匹配,替换 句子,单词,或者其他格式的字符串。这篇文章主要介绍了15个超实用的php正则表…

2015-12-06 991

#PHP
php生成动态验证码

预览效果: <?php /** *ImageCode 生成包含验证码的GIF图片的函数 *@param $string 字符串 *@param $width 宽度 *@par…

2015-12-02 578

#PHP
PHP 单例模式实现

<?php /** * * User: jifei * Date: 2013-07-31 * Time: 23:19 */ /** * Class Singleton * 单…

2015-11-24 335

#PHP
PHP统计在线用户数

<?php /** * Created by PhpStorm. * User: jifei * Date: 15/11/24 * Time: 20:58 * * 每分钟百万…

2015-11-24 560
1 14 15 16 17 18 79