Contact | Privacy | Datenschutzerklärung | Impressum

fileio_fwrite

Format: fileio_fwrite ( file, string [, pos [, length ]])

Purpose: Write string to a file. The parameter file must be a file. The parameter string must be a string. The optional parameters pos and length must be a integers.

Return Values: fileio_fwrite() returns the number of written characters (Integer type).

Configuration: This function is only allowed, if secure mode is off.

Example:

    f = fileio_fopen("/var/www/heitml2.1/log.hei","a");
    if isinteger(f);
        ? fileio_strerror (f);   
    else
        assign s> <?SrvDate> <?SrvTime> <?SrvLocalUrl> <br>
        </assign
	fileio_fwrite (f,s);
	fileio_fclose (f);
    /if;

See Also: fileio_fopen(), fileio_fread(), fileio_fwrite(), fileio_feof(), fileio_strerror().


This page was dynamically generated by the web application development tool RADpage of H.E.I. See "Was ist AJAX? " (in German). In Germany H.E.I. provides Webdesign in Mannheim and Web Programming (Programmierung).
© 1996-2024 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    Expressions
    Objects
    Methods
    Classes
    heitml Tags
    heitml Functions
    Advanced Functions
      containsRE
      containsCaseRE
      createMatchArray
      fileio_chmod
      fileio_fclose
      fileio_feof
      fileio_fopen
      fileio_fread
      fileio_fwrite
      fileio_strerror
      indexRE
      indexCaseRE
      regexcomp
      regexexec
      request_string
      request_tuple
      substr
      substRE
      substallRE
      TuSearch
      TuSearchTuple
      TuSort
    Database Access
    Global Variables
    Form Fields
    Server Variables
    Sessions
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  Tutorial
  New Features
  heitml 1
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum