Cheetah
Variables
get_file.php File Reference

Go to the source code of this file.

Variables

 $bResult = false
 
 $sId = (int)$_GET["id"]
 
 $sToken = process_db_input($_GET["token"])
 
 $sFile = "files/" . $sId . "." . (isset($_GET["ext"]) && preg_match('/^[0-9a-z]+$/', $_GET["ext"]) ? $_GET["ext"] : "mp3")
 
 $sType = "audio/" . (isset($_GET["ext"]) && preg_match('/^[0-9a-z]+$/', $_GET["ext"]) ? $_GET["ext"] : "mpeg")
 

Variable Documentation

◆ $bResult

$bResult = false

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 11 of file get_file.php.

◆ $sFile

$sFile = "files/" . $sId . "." . (isset($_GET["ext"]) && preg_match('/^[0-9a-z]+$/', $_GET["ext"]) ? $_GET["ext"] : "mp3")

Definition at line 14 of file get_file.php.

◆ $sId

$sId = (int)$_GET["id"]

Definition at line 12 of file get_file.php.

◆ $sToken

$sToken = process_db_input($_GET["token"])

Definition at line 13 of file get_file.php.

◆ $sType

$sType = "audio/" . (isset($_GET["ext"]) && preg_match('/^[0-9a-z]+$/', $_GET["ext"]) ? $_GET["ext"] : "mpeg")

Definition at line 15 of file get_file.php.