From Evrim Altay, 1 Year ago, written in PHP.
Embed
  1. <?php
  2.  
  3.     switch(file_get_contents('veri.txt')){
  4.         case 'Acik':
  5.             header("Location: birincisayfa.com", true, 303);
  6.         break;
  7.  
  8.         case 'kapali':
  9.             header("Location: ikincisayfa.php", true, 303);
  10.         break;
  11.  
  12.         default:
  13.             header("Location: hatasayfasi.php", true, 303);
  14.         break;
  15.     }