Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
PHP
Ban IP Address from Specific Referer
YvetteM
·
Feb 12, 2012
· 4179 views
This topic created in 5194 days ago, the information mentioned may be changed or developed.
/etc/php.ini 中修改
auto_prepend_file "/opt/php/block.php"
或者在.htaccess里添加
php_value auto_prepend_file prepend.php
block.php 内容
No Comments Yet
PHP
prepend
file
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
882 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 19:02
·
PVG 03:02
·
LAX 12:02
·
JFK 15:02
♥ Do have faith in what you're doing.
❯