欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

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"?>
PHP短域名互转的实例分享

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。