<?php echo 22; ?>
error_reporting(0); header("content-Type: text/html; charset=utf-8"); set_time_limit(120);…
$brand = 'logo'; $url = "http://image.baidu.com/search/index?tn=baiduimage&ipn=r&c…
function arrToOne($multi) { $arr = array(); foreach ($multi as $key => $val) { if( is_a…
http://www.ipip5.com/today/api.php?type=txt
<?php dbh = new PDO("mysql:host=localhost; dbname=demo", "user", "pass"); $dbh->setA…
// 人民币金额转大写程序 class Ext_Num2Cny{ static $basical = array(0=>"零","壹","贰","叁","肆","伍","陆"…
// 获取远程文件的大小 function remote_filesize($url, $user = "", $pw = "") { ob_start(); $ch = curl…
原文出处: 5iDev 对于开发人员来说,正则表达式是一个非常有用的功能,它提供了 查找,匹配,替换 句子,单词,或者其他格式的字符串。这篇文章主要介绍了15个超实用的php正则表…
预览效果: <?php /** *ImageCode 生成包含验证码的GIF图片的函数 *@param $string 字符串 *@param $width 宽度 *@par…
<?php /** * * User: jifei * Date: 2013-07-31 * Time: 23:19 */ /** * Class Singleton * 单…
<?php /** * Created by PhpStorm. * User: jifei * Date: 15/11/24 * Time: 20:58 * * 每分钟百万…
通过php的 similar_text函数比较两个字符串的相似性