Skip to content

Instantly share code, notes, and snippets.

View paktrad's full-sized avatar

Muhammad Iqbak Khan paktrad

View GitHub Profile
@paktrad
paktrad / 403forbidden.php
Created October 29, 2018 15:31 — forked from frankleromain/403forbidden.php
Creating a Secure PHP Login Script
<?php
header('HTTP/1.1 403 Forbidden');
?>
<html>
<head>
<title>Congratulations! You have been DENIED access</title>
</head>
<body>
<font size="4">You have been denied access because of the following reasons:<br /><br />
1.) Too many failed login attempts, so you are likely brute forcing through logins.<br />