-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path403.php
More file actions
42 lines (42 loc) · 1.09 KB
/
403.php
File metadata and controls
42 lines (42 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" type="image/ico" href="favicon.ico" />
<title>403 Forbidden</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
padding: 50px;
font-size: 0.8rem;
}
h1 {
font-size: 1.6rem;
color: #ff0000;
}
p {
font-size: 1rem;
color: #333;
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>403 Forbidden</h1>
<p>You don't have permission to access this resource.</p>
<p>
<a href="<?php echo htmlspecialchars(str_replace($_SERVER['DOCUMENT_ROOT'], '', str_replace('\\', '/', __DIR__)) . '/'); ?>">
Return to Homepage
</a>
</p>
</body>
</html>