Cheetah
videoslink.php
Go to the documentation of this file.
1 <?php
2 
8 $sGlobalHeader = "../global/inc/header.inc.php";
9 require_once("../../../inc/header.inc.php");
10 require_once(CH_DIRECTORY_PATH_CLASSES . "ChWsbPermalinks.php");
11 require_once($sGlobalHeader);
12 require_once($sIncPath . "db.inc.php");
13 require_once($sIncPath . "customFunctions.inc.php");
14 
15 $sId = (int)$_GET["id"];
17 $sNick = getValue("SELECT `NickName` FROM `Profiles` WHERE `ID`=" . $sId);
18 header("Location: " . $sRootURL . $oDolPermalinks->permalink("modules?r=videos/") . "albums/browse/owner/" . $sNick);
header
</code > Be careful enabling this directive if you have a redirector script that does not use the< code > Location</code > HTTP header
Definition: URI.MungeResources.txt:10
$sRootURL
$sRootURL
Definition: header.inc.php:38
$sIncPath
$sIncPath
Definition: header.inc.php:64
php
getValue
getValue($sQuery)
Definition: db.inc.php:59
$_GET
$_GET['debug']
Definition: index.php:67