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

PHP短域名互转的实例分享_PHP教程

程序员文章站 2022-03-19 18:37:01
...

代码如下:


   = '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"?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/440417.htmlTechArticle代码如下: ? = 'http://xxx.com/' = 'host' = '192.168.10.90','port' = '11116' , 'host' = '192.168.10.90','port' = '11117' , -mem = ( -mem-addServer( ['host'], ['port' encode( =...