百度指数PHP与Flash参数传递,请教如何获取百度指数flash数据?
请教如何获取百度指数flash数据?
http://index.baidu.com/main/word.php?word=跳舞鱼
我想得到传给flash的查询结果。
即每天查询“跳舞鱼”的次数.
好像涉及:FLASH获取数据默认都是有跨域限制,此PHP后台和flash之间的加密解密协议。
"PHP代理把数据用ExternalInterface传给FLASH。"
"百度指数的结果分析器来取得数值。"
我不太理解。
想请问如何下手。谢谢!
http://index.baidu.com/script/swf.js
http://index.baidu.com/fla/Trend ... ;periods=2010-07-03|2010-08-01&periodNames=null&shortKeys=%E6%96%B0%E9%97%BB&dv=1&gateway=http%3A%2F%2Findex.baidu.com%2Fgateway.php&snapshot=http%3A%2F%2Findex.baidu.com%2Fmain%2Fshow.php
------解决方案--------------------
这个我干过
你用firefox的插件live http header抓下包能看到,flash是从后台取数据,然后才生成曲线的,flash取的数据是一个xml文件,你可以通过分析这个xml文件来获取需要的数据

The article explains how to create, implement, and use interfaces in PHP, focusing on their benefits for code organization and maintainability.

The article discusses the differences between crypt() and password_hash() in PHP for password hashing, focusing on their implementation, security, and suitability for modern web applications.

Article discusses preventing Cross-Site Scripting (XSS) in PHP through input validation, output encoding, and using tools like OWASP ESAPI and HTML Purifier.

Autoloading in PHP automatically loads class files when needed, improving performance by reducing memory use and enhancing code organization. Best practices include using PSR-4 and organizing code effectively.

PHP streams unify handling of resources like files, network sockets, and compression formats via a consistent API, abstracting complexity and enhancing code flexibility and efficiency.

The article discusses managing file upload sizes in PHP, focusing on the default limit of 2MB and how to increase it by modifying php.ini settings.

The article discusses nullable types in PHP, introduced in PHP 7.1, allowing variables or parameters to be either a specified type or null. It highlights benefits like improved readability, type safety, and explicit intent, and explains how to declar

The article discusses the differences between unset() and unlink() functions in programming, focusing on their purposes and use cases. Unset() removes variables from memory, while unlink() deletes files from the filesystem. Both are crucial for effec


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SublimeText3 English version
Recommended: Win version, supports code prompts!

SublimeText3 Linux new version
SublimeText3 Linux latest version

Notepad++7.3.1
Easy-to-use and free code editor
