I have the error that says the title in PHP, it affects where it leaves the first include (variables.php) of the code: (that is the line 275)
echo "INFO: Defining shortened URL content.<br>";
if(!isset($_GET['mcpe']))
{
echo "WARNING: mcpe parameter specified.";
$urlcontent = '<?php
$servername = "'.$servername.'";
$longlink = "'.$longlink.'";
$alias = "'.$alias.'";
$password = "'.$password.'";
include (\'../configs/variables.php\');
include (\'../configs/template.php\');
?>';
}
else {
unset($urlcontent);
// No template, instant redirect
$urlcontent = '<?php
$servername = "'.$servername.'";
$longlink = "'.$longlink.'";
$alias = "'.$alias.'";
$password = "'.$password.'";
include (\'../configs/variables.php\');
include (\'../configs/template.php\');
header("Refresh:0; url='.$longlink.'")';
?>';
echo "WARNING: mcpe parameter not specified.";
}
Thanks