📄 esitepath.php
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="utf-8" />
<meta content="all" name="robots" />
<meta name="author" content="星辰网络" />
<meta name="Copyright" content="CopyRight (C) 2005-2006 All Right Reserved." />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<title>网博士服务器支持包 星辰网络</title>
<style type="text/css">
<!--
body{
font-size: 14px;
color: #FF4500;
line-height: 22px;
}
input,select {
margin-left: 3px;
background-color: #FF4500;
border-width: 1px;
color: #000;
}
-->
</style>
</head>
<body>
<?php
//if (Empty($_POST['domain']))
//{
echo "名点(Media)系列建站软件 注册机<br><form method=post>eSitePath:<input type='text' name='eSitePath'><br><input type='submit' value='授权'></form>";
//}
$ep=str_replace("\\\\","\\",$_POST['eSitePath']);
If($_POST['eSitePath']!='')
{
$md5str = (((('EHTAZIYT'.$ep).$_SERVER['SERVER_ADDR']).$_SERVER['LOCAL_ADDR']).'22.90h7^aaz0(!skZnmLa03#nVAc_f(h-a!)wsx~9dlP1%uXJnB8.65E3zYYwa');
$mymd5 = md5 ($md5str);
$data = $mymd5."\n".$mymd5;
function writetofile ($filename, $data)
{ //File Writing
$filenum=@fopen($filename,"w");
if (!$filenum) {
return false;
}
flock($filenum,LOCK_EX);
$file_data=fwrite($filenum,$data);
fclose($filenum);
return true;
}
if (!file_exists("license.dat"))
{
writetofile("license.dat",$data);
if (file_exists("license.dat"))
{
echo "<script>window.alert('恭喜!成功生成授权文件!');</script>";
exit();
}
}
echo "<script>window.alert('授权文件已存在!');window.opener=null;window.close();</script>";
}
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -