Roxen.git / server / modules / tags / writefile.pike

version» Context lines:

Roxen.git/server/modules/tags/writefile.pike:3:   // <srb@cuci.nl>   //   // This module is open source software; you can redistribute it and/or   // modify it under the terms of the GNU General Public License as published   // by the Free Software Foundation; either version 2, or (at your option) any   // later version.   //      #define _ok id->misc->defines[" _ok"]    - constant cvs_version = "$Id: writefile.pike,v 1.6 2001/10/01 14:14:09 anders Exp $"; + constant cvs_version = "$Id: writefile.pike,v 1.7 2001/10/05 11:58:19 sara Exp $";   constant thread_safe = 1;   constant language = roxen->language;      #include <module.h>   #include <config.h>      inherit "module";         // ---------------- Module registration stuff ----------------
Roxen.git/server/modules/tags/writefile.pike:177: Inside #if defined(manual)
   <p>Specifies the virtual filename to be created or operated on (relative    to the current directory, or to the root of the virtual filesystem).</p>   </attr>      <attr name='chroot' value='string'>    <p>Specifies the virtual root directory (sandbox) all file operations are    contained under.</p>   </attr>      <attr name='from' value='string'> -  <p>Specifies the type=file form field variable which uploaded the file to be -  written. If this attribute is omitted, the container content is what -  will be written instead. Given the example below, the parameter -  <var>from=wrapupafile</var> should be specified.</p> + <p>Specifies the type=file form field variable which uploaded the +  file to be written. If this attribute is omitted, the container +  content is what will be written instead. Given the example +  below, the parameter from=wrapupafile should be specified.</p>      <ex-box><form method='post' -  enctype=\"multipart/form-data\"> +  enctype='multipart/form-data'>    <input type='file' name='wrapupafile' /> -  <input type='submit' value=\"Upload file\" /> +  <input type='submit' value='Upload file' />   </form>   File uploaded:    <insert scope='form' -  variable=\"wrapupafile..filename\"/> +  variable='wrapupafile.filename'/>   </ex-box>   </attr>      <attr name='append'>    <p>Append to the file instead of replacing it.</p>   </attr>      <attr name='mkdirhier'>    <p>Create the directory hierarchy needed to store the file if needed.</p>   </attr>