在页面中间地址栏中输入你要访问的网站网址,再点右边的“Go”弯滚按钮即可用Online-Browser网页代理浏览到你绝尺想上的网站了! 网址: http://www.online-browser.com
PHP 代理陵携脚本 php-proxyphp-proxy 是基于 PHP,Symfony 和 cURL 的代理脚本,这个库借鉴了 Glype,Jenssegers proxy 和 Guzzle 的经验。
示例
require('vendor/autoload.php')
use Proxy\Http\Request
use Proxy\Proxy
$request = Request::createFromGlobals()
$proxy = new Proxy()
$proxy->getEventDispatcher()->addListener('request.before_send'尺纤伏竖搜, function($event){$event['request']->headers->set('X-Forwarded-For', 'php-proxy')})
$proxy->getEventDispatcher()->addListener('request.sent', function($event){if($event['response']->getStatusCode() != 200){die("Bad status code!")
}
})
$proxy->getEventDispatcher()->addListener('request.complete', function($event){$content = $event['response']->getContent()$content .= '<!-- via php-proxy -->'
$event['response']->setContent($content)})
$response = $proxy->forward($request, "http://www.yahoo.com")// send the response back to the client
$response->send()
Athlon1600 / php-proxy
Watch17 Star73 Fork36
A web proxy script written in PHP and built as an alternative to Glype. — More...
https://php-proxy.com
Issues
#25Install in Laravel 5.2 encountered a bugby cynhard 2016-11-28#38transfer-encoding: chunked misleads browserby h2g-internetagentur 2016-11-14#37Better content-type checkby JClerc 2016-11-08#19Gmail cookies problemby AoiRei 2016-10-24#40Google Drive &&Dropbox
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)