PHP伪协议


记录一只常见的几种喵

file://

file://用于访问文件(绝对路径,相对路径,网络路径)
比如
www.xxx.com?file=file://E:\phpstudy_pro\WWW\eee.txt
www.xxxx.com?file=file://xxx/xxx.txt

php://

访问输出流,常用的有php://filter(用于读取源码) php://input(用于执行php代码)