PHP短域名互转的实例分享
程序员文章站
2022-03-19 18:45:08
...
代码如下:
= 'http://xxx.com/' = 'host' => '192.168.10.90',
'port' => '11116',
'host' => '192.168.10.90',
'port' => '11117',->mem = ( ->mem->addServer(['host'], ['port' encode( = ((!("#^[http://|https://|ftp://]#iS", = ( = ->mem->get((!(( = ->mem->increment('auto_increment_id')) === ->mem->set('auto_increment_id', 10000 = ->mem->increment('auto_increment_id'->mem->set(, = ->dec2any(->mem->set(, = ->dec2any( ->base_url. decode( = (->base_url, '', ( ->mem->get( dec2any(, =62, = = '' (! = ( (! = ("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" ,0 , = ( == 0) ? 0 : (() / ( (; >= 0; -- = ( / ( , = . (, , 1 = - ( * ( , = = 'http://www.baidu.com',
'http://www.google.com',
'http://www.jbxue.com' ( = ->encode( "sort link: ".."\n" = ->decode( "original: ".."\n"?>
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
上一篇: ES6新特性开发微信小程序(5)
下一篇: action 空时 LINUX会兼容好吗