Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cowboy/php-simple-proxy
Simple PHP Proxy: Get external HTML, JSON and more!
https://github.com/cowboy/php-simple-proxy
Last synced: 3 days ago
JSON representation
Simple PHP Proxy: Get external HTML, JSON and more!
- Host: GitHub
- URL: https://github.com/cowboy/php-simple-proxy
- Owner: cowboy
- License: gpl-2.0
- Created: 2009-12-27T02:45:14.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T18:07:52.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T14:18:32.180Z (2 months ago)
- Language: JavaScript
- Homepage: http://benalman.com/projects/php-simple-proxy/
- Size: 346 KB
- Stars: 538
- Watchers: 40
- Forks: 155
- Open Issues: 28
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE-GPL
Awesome Lists containing this project
README
# Simple PHP Proxy: Get external HTML, JSON and more! #
[http://benalman.com/projects/php-simple-proxy/](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](http://benalman.com/projects/php-simple-proxy/) for more information and usage examples!
## Documentation ##
[http://benalman.com/code/projects/php-simple-proxy/docs/](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/](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/](http://benalman.com/about/license/)