( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/..//tmpr/..//gold/db.php
<?php 
	class dbconn extends PDO {		
		function __construct($dsn, $username="", $password="", $driver_options=array()) {
			parent::__construct($dsn,$username,$password, $driver_options);
		}
		function getDataFromQuery($qry) {
			$stmt = $this->prepare($qry);
			$stmt->execute();
			$res_result = $stmt->fetch();
			if(count($res_result)>0) {
				return $res_result;
			} else {
				return false;
			}
		}
		function getDataListFromQuery($qry) {
			$stmt = $this->prepare($qry);
			$stmt->execute();
			$res_result = $stmt->fetchAll();
			if(count($res_result)>0) {
				return $res_result;
			} else {
				return false;
			}
		}
		function UpdateQuery($qry) {
			$stmt = $this->prepare($qry);
			$stmt->execute();
			return $this->lastInsertId(); 
		}
	}
	
	$db = new dbconn('mysql:host=localhost;dbname=playground','root','Santonio5!');
?>