This file contains hidden or 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
namespace GoogleQuestion | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
// Solution one - cheap way | |
int[] arr = new[] { 9, 9, 9 }; |
This file contains hidden or 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
<?php | |
require_once('./db.php'); // Your pdo sql datbase file | |
if(!isset($_GET['username']) || !isset($_GET['password'])) | |
die('null'); | |
$user = $_GET['username']; | |
$pass = $_GET['password']; | |
// TABLENAME = Your mybb sql table name | |
$usr = $db->prepare("SELECT username FROM TABLENAME WHERE username=:u LIMIT 1"); |