Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Defining header response not working in hiawatha and php
  2. if($e === "ErrorSessionExpired")
  3.         {
  4.  
  5.             header("HTTP/1.0 404 Not Found");
  6.             $output = $this->smarty->fetch("login.tpl");
  7.             echo $output;
  8.             exit();
  9.         }
  10.        
  11. header("Status: 404 Not Found");