Public paste
qwdq
By: Xmoo | Date: Nov 21 2006 18:48 | Format: PHP | Expires: never | Size: 375 B | Hits: 759

  1.                         <?php
  2. switch($_GET['show']) {
  3.  
  4. case "home": $page="include/home.php";break;
  5. case "moeder": $page="include/test.php";break;
  6.  
  7. default: $page="include/home.php";break; // default is voor als "pagina" niet gespecifieerd is!
  8. }
  9.  
  10. if (file_exists($page)) {
  11.         include ($page);
  12.         }
  13.  
  14.     else {
  15.         include ("include/404.php");
  16.         }
  17. ?>     
Latest pastes
7 hours ago
9 hours ago
9 hours ago
19 hours ago
1 days ago