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:
parent
35d1ab9984
commit
926a76d1eb
7
r.php
7
r.php
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user