Defining header response not working in hiawatha and php -


i have local server , remote server. on local server i'm trying works, remote server hiawatha doesn't.

i'm trying set not found header , respond login page. i'm using following code that

if($e === "errorsessionexpired")         {              header("http/1.0 404 not found");             $output = $this->smarty->fetch("login.tpl");             echo $output;             exit();         } 

as said works fine on developing machine, uses embedded server of phped

try:

header("status: 404 not found"); 

Comments

Popular posts from this blog

c++ - error: use of deleted function -

delphi - ESC/P programming! -

c# - how to write client side events functions for the combobox items -