What is wrong with $_server[' local_addr ' and $_server[' server_addr ']?

Source: Internet
Author: User
What is $_server[' local_addr ' and $_server[' server_addr '?
See this code in a php file for a website program: $MD 5str = (((' Ehtaziyt '. $ep). $_server[' Server_addr '). $_server[' Local_addr ']). ' 22.90h7^aaz0 (!skznmla03#nvac_f (h-a!) Wsx~9dlp1%uxjnb8.65e3zyywa '); but I will always stop when I run to some code and pop up the error message notice:undefined index below. Indicates that $_server[' local_addr ' and $_server[' server_addr '] are invalid variables. Excuse me: $_server[' local_addr ' and $_server[' server_addr '] what exactly is the thing, I check the PHP manual also did not find, but this code appears in the business process, has been after several years of running test, should not be wrong.
Please know the brothers and sisters can answer the next.

------Solution--------------------
"Server_addr"
The IP address of the server where the script is currently running.
"REMOTE_ADDR"
The IP address of the user who is browsing the current page.
Local_addr don't know what it is, I think I added it myself.
------Solution--------------------
$_server[' local_addr ' has not been in the PHP5.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.