maybe with a session start...
stupid penguin
This commit is contained in:
		@@ -7,6 +7,7 @@
 | 
			
		||||
</head> 
 | 
			
		||||
<body>
 | 
			
		||||
<?php 
 | 
			
		||||
session_start();
 | 
			
		||||
$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
 | 
			
		||||
 
 | 
			
		||||
function random_string() {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,5 @@
 | 
			
		||||
<?php
 | 
			
		||||
session_start();
 | 
			
		||||
echo $_SESSION['userid'];
 | 
			
		||||
echo "<br />";
 | 
			
		||||
echo $_SESSION['username'];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user