Table of Contents
How to get QQ information from QQ master with PHP, get
Home Backend Development PHP Tutorial How to get QQ information from QQ master with PHP, get it with php_PHP tutorial

How to get QQ information from QQ master with PHP, get it with php_PHP tutorial

Jul 13, 2016 am 10:05 AM
php qq information Obtain

How to get QQ information from QQ master with PHP, get

with PHP. This article describes the method of getting QQ information from QQ master with PHP. Share it with everyone for your reference. The specific analysis is as follows:

Add the following points:

① This is a simple routine. Through expansion, you can easily obtain tens of millions of QQ information. The $jsonUrl parameter cd=610900 is the city code
② The QQ master information has been protected from hotlinking, so I use the PHP refer to fake http://city.qq.com
③ I originally wanted to make a QQ email mass-sending software for fun, but it has no economic value. It is very simple to contribute it for everyone's reference.

The specific code is as follows:

Copy code The code is as follows:
$refer="http://city.qq.com"; //Define $refer
$opt=array('http'=>array('header'=>"Referer: $refer")); //Request header array
$context=stream_context_create($opt); //Create a sending context header information text
$jsonUrl="http://city.qq.com/json.php?mod=search&act=page&callback=showSrchResult&jsontype=str&perpage=10&cd=610900&nl=3&xb=0&type=city&pg=1";
$jsonStr = getJson($jsonUrl,$refer,$context); //Call the JSON proxy function
echo $jsonStr; //Output JSON text
//Get QQ master JSON data
function getJson($url,$referer,$context)
{
          $opt=array('http'=>array('header'=>"Referer: $referer"));
          $context=stream_context_create( $opt);
           $getJsonStr = file_get_contents($url,false, $context);
$getJsonStr = substr($getJsonStr,0,-2);
$getJsonStr = substr($getJsonStr,15);

Return $getJsonStr;
}
?>

I hope this article will be helpful to everyone’s PHP programming design.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/963846.htmlTechArticleHow to obtain QQ information from QQ masters with PHP, PHP obtains QQ information from QQ masters. This article describes how PHP obtains QQ information from QQ masters. method. Share it with everyone for your reference. The specific analysis is as follows: Add the following points:...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What software can make Bitcoin? Top 10 Bitcoin Trading Software Recommendations in 2025 What software can make Bitcoin? Top 10 Bitcoin Trading Software Recommendations in 2025 Feb 21, 2025 pm 09:30 PM

With the rapid development of the Bitcoin market, it is crucial to choose reliable trading software. This article will recommend the top ten Bitcoin trading software in 2025 to help you trade efficiently and safely. These software have been rigorously screened and consider factors such as functionality, security, user-friendliness and support levels. From beginner-friendly platforms to complex tools for experienced traders, you will find the best options for your trading needs in this list.

gateio exchange app old version gateio exchange app old version download channel gateio exchange app old version gateio exchange app old version download channel Mar 04, 2025 pm 11:36 PM

Gateio Exchange app download channels for old versions, covering official, third-party application markets, forum communities and other channels. It also provides download precautions to help you easily obtain old versions and solve the problems of discomfort in using new versions or device compatibility.

Summary of essential software for 2025 currency circle Summary of essential software for 2025 currency circle Feb 21, 2025 pm 09:42 PM

This guide provides an overview of the essential software tools in the currency circle that helps users manage and trade crypto assets more efficiently. These software cover a wide range of categories from trading platforms to analytical tools and security solutions. The guide is designed to help users prepare for the upcoming crypto market in 2025.

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

Which is the best market viewing software? Top 10 virtual currency exchange market viewing software Which is the best market viewing software? Top 10 virtual currency exchange market viewing software Feb 21, 2025 pm 09:48 PM

For those engaged in virtual currency trading, choosing an excellent market viewing software is crucial. This article aims to introduce readers to the ten most acclaimed virtual currency exchange viewing software to help them make informed choices. These software offer a variety of features, including real-time quotes, technical analysis tools, charts and custom alerts to meet the needs of different traders. Whether you are an experienced professional or a beginner, this article will provide you with valuable insights to help you find the best viewing software for your trading style.

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

The latest price of Bitcoin in 2018-2024 USD The latest price of Bitcoin in 2018-2024 USD Feb 15, 2025 pm 07:12 PM

Real-time Bitcoin USD Price Factors that affect Bitcoin price Indicators for predicting future Bitcoin prices Here are some key information about the price of Bitcoin in 2018-2024:

Ouyi official login entrance 2025 Ouyi okx trading platform official version entrance Ouyi official login entrance 2025 Ouyi okx trading platform official version entrance Feb 15, 2025 pm 07:15 PM

Fully understand the official entrance of Ouyi OKX trading platform Real-time monitoring of the use of Ouyi OKX trading platform In-depth discussion on the security guarantee and development plan of Ouyi OKX trading platform

See all articles