11 lines
222 B
PHP
11 lines
222 B
PHP
|
<?php
|
||
|
|
||
|
// The page we wish to display
|
||
|
$file = $_GET[ 'page' ];
|
||
|
|
||
|
// Input validation
|
||
|
$file = str_replace( array( "http://", "https://" ), "", $file );
|
||
|
$file = str_replace( array( "../", "..\"" ), "", $file );
|
||
|
|
||
|
?>
|