Konu
include edilen dosyaların güvenliği
11-10-2010, 14:48:11
#2
Tontonq
en kolay ve en güvenli yolu
<?php switch($_GET["sayfa"])
{
case 'uye':
include 'uye.php';
break;
case 'album':
include 'album.php';
break;
case 'foto':
include 'foto.php';
break;
default:
require 'uye.php';
}
?>
index.php?sayfa=album şeklinde