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

version» Context lines:

Roxen.git/server/modules/tags/writefile.pike:3:   // <>   //   // 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.2 2001/05/16 07:51:00 per Exp $"; + constant cvs_version = "$Id: writefile.pike,v 1.3 2001/07/20 12:13:17 jhs 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:181: Inside #if defined(manual)
  <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> - <ex><form method=post + <ex><form method='post'    enctype=\"multipart/form-data\"> -  <input type=file name=wrapupafile> -  <input type=submit value=\"Upload file\"> +  <input type='file' name='wrapupafile' /> +  <input type='submit' value=\"Upload file\" />   </form>   File uploaded: -  <insert scope=form +  <insert scope='form'    variable=\"wrapupafile.filename\"/>   </ex>   </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>