This project is the simplest way to proxy CORS.
Make simple things to do complex task
As Steve Jobs says on the BusinessWeek, May 25 1998
That’s been one of my mantras — focus and simplicity. Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple. But it’s worth it in the end because once you get there, you can move mountains.
- Proxy GET request.
- Stream Download content.
- Stream Content Type.
- Stream Content Disposition
- Proxy third party services.
- Proxy JSON HTTP over HTTPS.
- Bypass Mixed Content, load HTTP resources by Proxy.
- Support Partial and Resumable downloads.
- Protect your connection and that of your server with the proxy support.
- Fake/Stream UserAgent
Download the cors.php and put on your project folder.
It's a build-in solution.
<?php
include("cors.php");
//No more codes needed
?>
Parameter | Description | Rule | Default |
---|---|---|---|
url | Give the remote url to ?url= parameter | Needed |
Proxy page: https://cors-proxy.tk/?url=http://google.com/
Proxy HTTP resource: https://cors-proxy.tk/?url=https://i.imgur.com/hSyuS32.png
Want to contribute? Great! You are welcome 🥳
GNU General Public License