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
|
||||
//Polr Redirector Core
|
||||
/*
|
||||
Redirect to target URL.
|
||||
*/
|
||||
|
||||
require_once('lib-core.php');
|
||||
if (is_string($_GET['u'])) {
|
||||
$val = $mysqli->real_escape_string($_GET['u']);
|
||||
} else {
|
||||
echo "Sorry. You didn't enter a string.";
|
||||
echo "Sorry. You didn't enter a valid ending.";
|
||||
die();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user