Skip to content

Commit

Permalink
clarify file usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cydrobolt committed Nov 1, 2015
1 parent 35d1ab9 commit 926a76d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions r.php
Original file line number Diff line number Diff line change
@@ -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();
}

Expand Down

0 comments on commit 926a76d

Please sign in to comment.