易截截图软件、单文件、免安装、纯绿色、仅160KB

php迅雷的链接算法

$thunder = ("Thunder://QUFodHRwOi8vNjAuMTkxLjYwLjEwODo4MDgwL3hweGlhemFpL0RlZXBpbl9HaG9zdF9YUF9WMTguMC5pc29aWg==");
//解密它
$thunder = trim($thunder,'Thunder://');
$c_thunder = base64_decode($thunder);
$c_thunder = ltrim(rtrim($c_thunder,'ZZ'),'AA');
//out [url]http://60.191.60.108:8080/xpxiazai/Deepin_Ghost_XP_V18.0.iso[/url];
//加密它
$a_link = 'http://60.191.60.108:8080/xpxiazai/Deepin_Ghost_XP_V18.0.iso';
$a_link = sprintf('AA%sZZ',$a_link);
$a_link = sprintf('Thunder://%s',base64_encode($a_link));
//out Thunder://QUFodHRwOi8vNjAuMTkxLjYwLjEwODo4MDgwL3hweGlhemFpL0RlZXBpbl9HaG9zdF9YUF9WMTguMC5pc29aWg== ?>


相关文档:

关于PHP你可能不知道的10件事

小编之前也曾报导过PHP开发人员容易忽略的几点精华,除了一些精华技术方法外,很多细微之处也是程序员
们容易忽略的,下面我们为您总结了10个关于PHP你可能不知道的事情。
  关于PHP更多内容,欢迎访问:PHP开发基础入门
  1.使用ip2long() 和long2ip()函数来把IP地址转化成整型存储到数据库里。
  这种方法把存储 ......

PHP常用正则表达式

    匹配中文字符的正则表达式
: [\u4e00-\u9fa5]
    匹配双字节字符(包括汉字在内)
: ["\x00-\xff]
    应用:计算字符串的长度
(一个双字节字符长度计2,ASCII字符计1)
    String.prototype.len=function(){return
th ......

最令PHP初学者头痛的十四个问题


【1】页面之间无法传递变量 get,post,session在最新的php版本中自动全局变量是关闭的,所以要从上一页面取得提交过来得变量要使用$_GET['foo'],$_POST['foo'],$_SESSION['foo']来得到。当然也可以修改自动全局变量为开(php.ini改为register_globals = On);考虑到兼容性,还是强迫自己熟悉新的写法比较好。
  【2】Wi ......

Apache+Mysql+Php安装文档(rpm版本)

  1.mysql
  在如下页面下载mysql的for linux rpm包
   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;
   http://www.mysql.com/downloads/down...3.52-1.i386.rpm ;
  存至/home/tmp目录
  命令列表: 
  cd /home/tmp
  rpm -ivh MySQL-3.23.52-1.i386.rpm #安装mysql serv ......

Apache 2 and PHP 5 (mod_php) on Linux


Apache 2 and PHP Installation
The following notes are how I got Apache 2 and PHP 5 (or PHP 4) working together on Linux. These instructions also apply, mostly, for any UNIX-like system, especially other Linux distributions. If you have a recent Linux distribution (say since 2002), you already hav ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号