标签:src amp asi blog exit nbsp image eal span
ntunnel_mysql.php 中增加
function check() { if (!isset($_SERVER[‘PHP_AUTH_USER‘])) { header(‘WWW-Authenticate: Basic realm="My Realm"‘); header(‘HTTP/1.0 401 Unauthorized‘); // echo ‘Text to send if user hits Cancel button‘; exit; } if(!($_SERVER[‘PHP_AUTH_USER‘] == ‘mysql‘ && $_SERVER[‘PHP_AUTH_PW‘] == ‘wenxue‘)) { exit; } } check();
标签:src amp asi blog exit nbsp image eal span
原文地址:http://www.cnblogs.com/siqi/p/7289684.html