Created
November 8, 2015 17:40
-
-
Save ConnorMcF/8984c4e5ccd484b58292 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include('int/dbinit.php'); | |
$sql = "SELECT * FROM users WHERE steamid='".$_SESSION["steamid"]."'"; | |
$result = $conn->query($sql); | |
if ($result->num_rows > 0) { | |
while($row = $result->fetch_assoc()) { | |
if(!$row["banned"] == 0) { | |
$reason = $row["banned"]; | |
$isbanned = 1; | |
exit; | |
} else { | |
$isbanned = 0; | |
} | |
} | |
} else { | |
// not logged in | |
} |
ed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes
ed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
whoops
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /a/long/directory/gmusic/header.php on line 1