Commit 46fb8495 authored by zhoujun's avatar zhoujun

调试微信分享

parent bca85635
Pipeline #1549 passed with stage
in 0 seconds
<?php
if(!empty($_SERVER['HTTP_CLIENT_IP'])){
$ip = $_SERVER['HTTP_CLIENT_IP'];
}elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
}else{
$ip = $_SERVER['REMOTE_ADDR'];
}
$ip = $_SERVER['REMOTE_ADDR'];
print_r($ip);die();
if(!in_array($ip,['116.227.124.169','116.227.126.145'])){
echo '页面走丢了';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment