PHP language, browser, operating system, IP, geographical location, ISP, this PHP class has the following several methods, but also the usage description:PHPclassclass_guest_info{functionGetlang () {$Lang=substr($_server[' Http_accept_language '], 0,
PHP language, browser, operating system, IP, location, Isp,phpisp
$obj= NewClass_guest_info;$obj -Getlang(); //get the language of your visitors: Simplified Chinese, Traditional Chinese,中文版.$obj -Getbrowser(); //Get the Guest
$obj= NewClass_guest_info;$obj -Getlang(); //get the language of your visitors: Simplified Chinese, Traditional Chinese,中文版.$obj -Getbrowser(); //Get the Guest browser:MSIE,Firefox,Chrome,Safari,Opera, Other.$obj -Getos(); //Get guest operating
Php Chu Getting Started
This chapter highlights
Decide whether to outsource or build your own
Find the right ISP
Avoid common host traps
Install PHP
Choose PHP Development Tools
In this chapter, we will discuss the pros and cons of
PHP obtains the IP address and outputs the code of the array program. There are many ways to get IP addresses in php. next I will introduce how to use linux commands to get IP addresses and convert them into array output, the following describes
Borrow Sina IP Address library to fetch the user's city and region PHP version
/* $ip =real_ip ();$url = ' http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip= '. $ip;$content =fopen_url ($url);$EXP = '/country ': "(. *?)", "Province"
How to obtain the Internet ip address of wifi for android
// Get the Internet IPpublic static String GetNetIp () {URL infoUrl = null; InputStream inStream = null; try {// http://iframe.ip138.com/ic.asp// infoUrl = new URL (http://city.ip138.com/city0
You can easily learn PHP configuration files. PHP has been developing for a long time and many users are familiar with PHP. here I will share my personal understanding and discuss it with you. I believe every PHP enthusiast will not be unfamiliar
Intended audience
Introduction
Register_globals
How does the variables get to PHP?
From the URL
From a Form
From a Cookie
From the environment or the Server
Use the superglobals!
Why are they called superglobals?
Other coding techniques
Ways
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.