Thread: PHP Help
View Single Post
11-21-2005, 11:41 PM
#19
Vince4Heisman is offline Vince4Heisman
Status: Sin Binner
Join date: Nov 2005
Location:
Expertise:
Software:
 
Posts: 82
iTrader: 0 / 0%
 

Vince4Heisman is on a distinguished road

  Old

its safe if u use file_exists

<?
$page = $_GET['page'];
if(file_exists("$page.php")){
include"$page.php";
} else {
echo"The file is not on this webserver.";
}
?>