test
parent
95bed6c2f7
commit
01aa3e8a13
|
@ -2,7 +2,6 @@
|
||||||
session_start();
|
session_start();
|
||||||
%NO_CHEAP_SESSION_STEALING%
|
%NO_CHEAP_SESSION_STEALING%
|
||||||
%PLEAZE_NO_CACHE%
|
%PLEAZE_NO_CACHE%
|
||||||
$navbar="boards";
|
|
||||||
$id=$_GET['id'];
|
$id=$_GET['id'];
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
@ -14,7 +13,7 @@ $id=$_GET['id'];
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
echo "<p>$_SESSION['user_id']</p>";
|
print_r($_SESSION);
|
||||||
echo "<a href='%CONTENT_DIR%/boards/post.php?id=$id'><button> Post something </button></a>";
|
echo "<a href='%CONTENT_DIR%/boards/post.php?id=$id'><button> Post something </button></a>";
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue