PTM Logo Version 0.5.1 Beta
Home    SVN    Downloads    Documentation    Forum    Contact
This Site is 100%
Powered by PTM

SourceForge.net Logo
Documentation
I   Index
II   GNU GPL
III   Description
IV   Installation
V   Language Overview
VI   Tags
VII   Variables
VIII   Functions
  _PTM()
  _PTM_FILE()
  append_file_text()
  basic_header()
  delete_cookie()
  end_session()
  get_dir_list()
  get_file_text()
  is_secure()
  is_session()
  nohtml()
  redirect_header()
  session_add()
  session_delete()
  session_domain()
  session_id()
  session_name()
  session_path()
  session_secure()
  set_basic_header()
  set_cookie()
  set_redirect_header()
  start_session()
  update_session()
  write_file_text()
IX   Modules
Documentation
View / Download this file.
-----------------------
basic_header() FUNCTION
-----------------------

  ------------
  USAGE FORMAT
  ------------

    Within a PREPROCESS tag:
    Where $http_header is an HTTP header buffer:
    
    $http_header = &basic_header();

  -----------
  DESCRIPTION
  -----------

    The basic_header() function returns the standard "text/html" HTTP header
    string, complete with double new line character (\n) termination. May be
    used ONLY in a PREPROCESS tag.

  ---------
  ARGUMENTS
  ---------

    NONE

  -------
  RETURNS
  -------

    A complete, standard "text/html" HTTP header string.

  --------------
  USAGE EXAMPLES
  --------------

    --------------------------------------------------------------------
    Example 1: Manually Set the Assigned HTTP Header in a PREPROCESS Tag
    --------------------------------------------------------------------

      <?: $_HEADER = &basic_header(); ?>

  --------
  SEE ALSO
  --------

    TAGS

      PREPROCESS

    VARIABLES
    
      $_HEADER

    FUNCTIONS
    
      redirect_header(), set_basic_header(), set_redirect_header()
Home    SVN    Downloads    Documentation    Forum    Contact