-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedu.php
More file actions
30 lines (28 loc) · 729 Bytes
/
edu.php
File metadata and controls
30 lines (28 loc) · 729 Bytes
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
<?php
/**
* Index file for the xp directory. Redirects to the desired page.
* Author : louis.richard@tutanota.com
* Project : louisrichard.github.io / richard486.ch
* Created : NOV 13th 2025
* Info : N/A
*
* Source : https://github.com/LouisRichard/louisrichard.github.io
*/
$title = 'EDUCATION';
if (isset($_GET['edu'])) {
$edu = $_GET['edu'];
switch ($edu) {
case "cpnv":
require_once "view/edu/cpnv.php";
break;
case "hackerrank":
require_once "view/edu/hackerrank.php";
break;
//default
default:
header("location: index.html");
break;
}
} else {
header('location: index.html');
}