Skip to content

此项目基于PHP开发,实现网页代理的功能。

License

Notifications You must be signed in to change notification settings

csyaoran/PHP-Proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

关于本项目

本项目由WoL编写,基于PHP开发,实现网页代理的功能。 更多请看我博客的文章:PHP-Proxy网页代理

食用方法

  1. 下载源码并解压到网站根目录。

  2. 编辑伪静态规则: Nginx: if ( !-e $request_filename) {rewrite ^/(.*)$ /index.php?$1 last;break;} Apache: RewriteRule '^/(.*)$$' /index.php?$1 [L]

  3. index.php 外链、外链图片、外链静态文件等请求不通过PHP-Proxy,地址栏不会显示目标域名.

功能

  • 密码访问(默认为PHP-Proxy
  • 若PHP空间在国外,基本可代理所有网站。
  • 支持Cookies,Headers,Post请求等。

To Do List

  • index_all 代理所有外链、外链图片、外链静态文件,但地址栏不显示目标域名。
  • 支持Delete,Put,Patch等请求方法。
  • 管理后台 /admin

参考

yitd/Any-Proxy

About

此项目基于PHP开发,实现网页代理的功能。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages