1 2 3 4 5 6 7 8 9 10 11 12 13
<?php if (substr(php_sapi_name(), 0, 3) == "cgi") { exit; } include dirname(__FILE__)."/include.inc"; if (!get_cgi_path()) { die("skip CGI not found"); } ?>