Commit 2c36a425 authored by zhoujun's avatar zhoujun

调试微信分享

parent 65160dd9
Pipeline #1552 passed with stage
in 0 seconds
<?php
if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$address = $_SERVER['HTTP_X_FORWARDED_FOR'];
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
}else {
$address = $_SERVER['REMOTE_ADDR'];
$ip = $_SERVER['REMOTE_ADDR'];
}
print_r($ip);die();
......
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