Warning: Undefined array key "topic_id" in /usr/home/yyn/domains/11jn.com/public_html/mobi/list.php on line 5
Warning: Undefined variable $forum_ in /usr/home/yyn/domains/11jn.com/public_html/mobi/list.php on line 21
Warning: Undefined variable $file in /usr/home/yyn/domains/11jn.com/public_html/mobi/list.php on line 35
分类:PHP工具与代码
10-10-17
转载自httphtml
[code:485ni3hr]/**
* 全概率计算
*
* @param array $p array('a'=>0.5,'b'=>0.2,'c'=>0.4)
* @return string 返回上面数组的key
* @author Lukin <my@lukin.cn>
*/
function random($ps...
10-10-17
转载自httphtml
文件大小4G。。。
LAMP兄弟连PHP视频教程07年开始录制,集合了兄弟连广大讲师的心血,内容详实生动,完整的体系,从HTML一直到一个整的项目,深受广大LAMP/PHP爱好的喜爱。
视频教程:PHP视频教程1~52讲、Linux 1~35讲...
10-09-03
转载自httphtml
字母、数字、下划线和汉字:/^[".chr(0xa1)."-".chr(0xff)."A-Za-z0-9_]+$/【gb2312】
字母、数字、下划线和汉字:/^[".chr(0xa1)."-".chr(0xff)."A-Za-z0-9_]+$/【UTF-8】
正...
10-08-06
转载自httphtml
做外贸的网站一般都不想让国内人访问,可以采用如下的方法:
1. 从APNIC获取一份国家与地区IP段数据 [url=ftp://ftp.apnic.net/apnic/dbase/data/country-ipv4.lst:1msa83z5]ftp://ftp.apnic.net/apnic/...
10-08-03
很莫名奇妙的错误,1个PHP文件以前使用正常,今天发现运行时显示
[code:1wue8p2k]"Warning: Cannot modify header information - headers already sent by ...."[/code:1wue8p2k]
网上搜了搜,终于解决了。...
10-07-16
请先下载qswhU文件,[url:2anqzyd9]http://www.blueidea.com/user/qswh/qswhU.zip[/url:2anqzyd9]
备用地址[url:2anqzyd9]http://www.11jn.com/qswhU.zip[/url:2anqzyd9]
[color=#FF0000:2anqzyd9]下载后...
10-07-16
转载自httphtml
请先下载qswhGBK文件,[url:34009v2u]http://www.blueidea.com/user/qswh/qswhGBK.zip[/url:34009v2u]
备用地址[url:34009v2u]http://www.11jn.com/qswhGBK.zip[/url:34009v2u]
[color=...
10-07-16
请先下载gb2utf8文件,[url:3frdyb2d]http://www.11jn.com/gb2utf8.rar[/url:3frdyb2d]
[color=#FF0000:3frdyb2d]下载后,请解压gb2utf8.rar文件获得gb2utf8.txt文件,并与你的PHP程序文件放在同一目录下。[/color:3frdy...
10-07-15
转载自http://dodomail.javaeye.com/blog/195361
[code:34exnaua]<?php
// utf8 ---> unicode
function utf8_unicode($c) {
switch(strlen($c)) {
case 1:
return ord($c);
case 2:
$n = (ord...
10-07-15
转载自httphtml_uni);
preg_match_all('/[\\\%]u([0-9a-f]{4})/ie', $s, $js_uni);
$source = array_merge($html_uni[0], $js_uni[0]);
$js = array();
for($i=0;$i<...