小陆博客

为站长提供建站技巧、网站运营、搜索优化、建站方向以及利用网站赚钱与创业的知识与经验。

热门搜索:

域名解析域名防封

10478 浏览
0 评论
内容
```php $domain_zhu = include( UPLOAD_PATH . '/url/url.php'); $url = 'http://' . $domain_zhu . url('login/register', array('pid' => $this->user_id)); 跳转域名处理 $domain_zhu = include UPLOAD_PATH . '/url/url.php'; if (strpos($domain_zhu, $_SERVER['HTTP_HOST']) !== false) { $domain_txt = file_get_contents(UPLOAD_PATH . '/url/domain.txt'); $domain_arr = explode("\r\n", $domain_txt); $domain_arr = array_filter($domain_arr); $key = $id % count($domain_arr); $domain = trim($domain_arr[$key]); $url = 'http://' . $domain . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING']; header('Location: '.$url); exit(); } ```
```php $domain_zhu = include( UPLOAD_PATH . '/url/url.php'); $url = 'http://' . $domain_zhu . url('login/register', array('pid' => $this->user_id)); 跳转域名处理 $domain_zhu = include UPLOAD_PATH . '/url/url.php'; if (strpos($domain_zhu, $_SERVER['HTTP_HOST']) !== false) { $domain_txt = file_get_contents(UPLOAD_PATH . '/url/domain.txt'); $domain_arr = explode("\r\n", $domain_txt); $domain_arr = array_filter($domain_arr); $key = $id % count($domain_arr); $domain = trim($domain_arr[$key]); $url = 'http://' . $domain . $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING']; header('Location: '.$url); exit(); } ```

评论 (0)

评论功能正在开发中...