Regarding header error in PHP


Using multiple header in php page. if header is once called from another file and is in session and ur using another \header page for error page oor not authorized page then use include function in place for calling header

Using multiple header in php page. if header is once called from another file and is in session and ur using another \header page for error page oor not authorized page then use include function in place for calling header


header(location:'error.php');

in place of this use include function

include('error.php');


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: