Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1[PHP] HTTP Error: 403 Forbidden; Index.php Empty [PHP] HTTP Error: 403 Forbidden; Index.php Wed Mar 09, 2011 12:13 am

Nova

Nova
Member
Loading
Save as index.php

Code:
<?php
header("HTTP/1.0 403 Forbidden");
$URI = $_SERVER['REQUEST_URI'];
echo "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>403 Forbidden</title>
</head>
<body>
<h1>Forbidden</h1>
<p>You don't have permission to access $URI on this server.</p>
</body>
</html>";
?>

View previous topic View next topic Back to top  Message [Page 1 of 1]

Related topics

Permissions in this forum:
You cannot reply to topics in this forum