Stuff
public text v1 · immutable<?php
$page = ( isset( $_GET['page'] ) ) ? $_GET['page'] : "";
$path = "/path/to/pages/";
if ( file_exists( $path . $page . ".php" ) ) {
require_once( $path . $page . ".php" );
}
?><?php
$page = ( isset( $_GET['page'] ) ) ? $_GET['page'] : "";
$path = "/path/to/pages/";
if ( file_exists( $path . $page . ".php" ) ) {
require_once( $path . $page . ".php" );
}
?>