转载一个测试open_basedir的PHP代码。

原创 qtwrk  2018-08-16 21:17  阅读 274 次 评论 0 条

自己记录一下, 免得以后又要找

<?php
ini_set('open_basedir', getcwd());
readfile('/etc/passwd');

本文地址:https://vps.group/open_basedir-test-20180816.html
版权声明:本文为原创文章,版权归 qtwrk 所有,欢迎分享本文,转载请保留出处!

发表评论


表情