Deutsch English
Alphabetical index
Array functions
CGI functions
  • cgibuffer()
  • cgiclearbuffer()
  • cgiclosebuffer()
  • cgiexec()
  • cgigetparam()
  • cgigetsession()
  • cgitestparam()
  • cgitestsession()
  • cgiwrite()
  • cgiwritehtml()
  • cgiwriteln()
  • cgiwritetemplate()
  • endcgi()
  • endsema()
  • getquerystring()
  • http_post()
  • initcgi()
  • waitsema()
    Data types
    Date functions
    Debugging
    Fulltext functions
    Language elements
    Numerical functions
    Operators
    Other functions
    Ramtext functions
    Selecting
    Socket functions
    Statistical functions
    Stream functions
    String functions
    System functions
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex CGI functions
    Function cgiclosebuffer()
    Short Writes the output buffer to the standard output and terminates buffering
    Syntax CGICLOSEBUFFER
    Parameter
    Return 0
    See also:
    cgiclearbuffer() cgibuffer()
    Description Writes the output buffer to the standard output and terminates the buffering.

    If you want to transmit other information than text via CGI (eg. binary data) you should call CGICLOSEBUFFER before the transmission.

    Example 1: CGICloseBuffer

    Usage of CGICLOSEBUFFER

    cgiwriteln('content-type: image/gif')
    cgiwriteln('')
    cgiclosebuffer // Header is written
    copyfile('pics/mypicture.gif','con') // here picture is transmitted


    User comments:
    Write a comment:
    Name
    EMail
    Subject
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat
    irc.tdbengine.org
    #tdbengine

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}