maybe with a session start...
stupid penguin
This commit is contained in:
parent
35250c3a1b
commit
70a64bba34
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user