„threadr/boards/thread.php“ ändern

master
Jakob 2020-03-02 09:20:30 +01:00
parent 0b410c4d1a
commit 778dffbcf7
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,14 @@
<?php <?php
//todo: fix automatic log out when opening "Boards"
session_start(); session_start();
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
$navbar="boards"; $navbar="boards";
$id = $_GET["id"] function _GET($par, $parType = '') {
if($parType == '') {
$parType = gettype($par);
}
$return = filter_input(INPUT_GET, $par, FILTER_SANITIZE_NUMBER_INT);
}
$id = _GET('id')
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>