Quantcast
Channel: AskApache » ErrorDocument
Viewing all articles
Browse latest Browse all 2

PHP to handle HTTP Status Codes for ErrorDocument

$
0
0

+AskApache

Fast, HTTP Protocol, protection. If you are reading this article, you already know enough about the benefits of making sure your site can handle HTTP Protocol Errors. This is a nice single php file with no dependencies or requirements, will work on anything. Optimized for minimizing bandwidth and resource-hogging connections from bots and spambots.

<?php
ob_start();
@set_time_limit(5);
@ini_set('memory_limit', '64M');
@ini_set('display_errors', 'Off');
error_reporting(0);

The post PHP to handle HTTP Status Codes for ErrorDocument appeared first on AskApache.

+AskApache


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images