<?php if ($_SERVER['REQUEST_URI'] == '/404.php') die(''); $filename = '/404.txt'; $somecontent = "\n".date('d:m:y, G:i:s',$_SERVER['REQUEST_TIME']).' | '.$_SERVER['REQUEST_URI']; $handle = fopen($filename, 'a'); fwrite($handle, $somecontent); fclose($handle); include_once '/baldurj/top.php'; ?> <h1>Umbeðin síða fannst ekki</h1> <a href="javascript:history.back(-1)">Til baka</a> <?php include_once '/baldurj/bottom.php'; ?>
http://hnakki.com/404.txt
http://hnakki.com/erekkitil.html
Tenging við mysql og backendinn er náttúrulega alltaf möguleiki :)
Hvernig lýst fólki á þetta?