1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 11:42:28 +01:00

clarify file usage

This commit is contained in:
Chaoyi Zha 2015-11-01 16:01:16 -05:00
parent 35d1ab9984
commit 926a76d1eb

7
r.php
View File

@ -1,10 +1,13 @@
<?php <?php
//Polr Redirector Core /*
Redirect to target URL.
*/
require_once('lib-core.php'); require_once('lib-core.php');
if (is_string($_GET['u'])) { if (is_string($_GET['u'])) {
$val = $mysqli->real_escape_string($_GET['u']); $val = $mysqli->real_escape_string($_GET['u']);
} else { } else {
echo "Sorry. You didn't enter a string."; echo "Sorry. You didn't enter a valid ending.";
die(); die();
} }