cowboy/php-simple-proxy
关于
简单的 PHP 代理:获取外部 HTML、JSON 等内容!
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Simple PHP Proxy: Get external HTML, JSON and more!
http://benalman.com/projects/php-simple-proxy/
Version: 1.6, Last updated: 1/24/2009
With Simple PHP Proxy, your JavaScript can access content in remote webpages, without cross-domain security limitations, even if it's not available in JSONP format. Of course, you'll need to install this PHP script on your server.. but that's a small price to have to pay for this much awesomeness.
Visit the project page for more information and usage examples!
Documentation
http://benalman.com/code/projects/php-simple-proxy/docs/
Examples
This working example, complete with fully commented code, illustrates one way in which this PHP script can be used.
http://benalman.com/code/projects/php-simple-proxy/examples/simple/
Release History
1.6 - (1/24/2009) Now defaults to JSON mode, which can now be changed to native mode by specifying ?mode=native. Native and JSONP modes are disabled by default because of possible XSS vulnerability issues, but are configurable in the PHP script along with a url validation regex.
1.5 - (12/27/2009) Initial release
License
Copyright (c) 2010 "Cowboy" Ben Alman
Dual licensed under the MIT and GPL licenses.
http://benalman.com/about/license/
探索相关项目
加载中…