OwlCyberSecurity - MANAGER
Edit File: download.php
<?php include("includes/config.php"); include("includes/conexao.php"); $idg = filter_input(INPUT_GET, 'id'); $query = $db->prepare("SELECT * FROM game WHERE idg=:idg"); $query->execute(array('idg'=>$idg)); $result = $query->fetch(PDO::FETCH_ASSOC); ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>Download</title> </head> <body> <embed width="800" height="600" src="<?=URL_BASE_GAMES?>jogos/<?=$result['swf']?>">"> </body> </html>