Copy the code The code is as follows:
//Our domain name can be non-unique here
$domain = 'localhost';
//This should be the encryption key authorized by CNZZ to shopex. If it is wrong, you cannot quickly apply for an account
$encodestr = 'A34dfwfF';
//This is CNZZ The URL address of the quick application account authorized to shopex
$url = 'http://wss.cnzz.com/user/companion/shopex.php?domain='.$domain.'&key='.md5($ domain.$encodestr);
//Get the web page content and get a string like this 80772914@3780692425
$res = file_get_contents($url);
//The left side is the site id counted by CNZZ, and the right side is Password
$res = explode('@',$res);
//Log in to the URL of CNZZ statistics, copy the following address into the address bar to see the effect
//http: //wss.cnzz.com/user/companion/shopex_login.php?site_id=80772914&password=3780692425
//It will automatically jump to http://wss.cnzz.com/v1/main.php?siteid=80772914&s =main_stat
$login = 'http://wss.cnzz.com/user/companion/shopex_login.php?site_id='.$res[0].'&password='.$res[1];
header("Location:$login");
http://www.bkjia.com/PHPjc/324175.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/324175.htmlTechArticleCopy the code as follows: ?php //Our domain name, here can be non-unique $domain = 'localhost' ; //This should be the encryption key authorized by CNZZ to shopex. If it is wrong, you cannot apply quickly...