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

version» Context lines:

Roxen.git/server/modules/tags/writefile.pike:4:   //   // 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.11 2001/11/26 14:00:14 mast Exp $"; +  "$Id: writefile.pike,v 1.12 2001/12/03 13:03:17 anders Exp $";   constant thread_safe = 1;      #include <module.h>   #include <config.h>      inherit "module";         // ---------------- Module registration stuff ----------------   
Roxen.git/server/modules/tags/writefile.pike:202: 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 +  below, the parameter <i>from=wrapupafile</i> should be    specified.</p>      <ex-box><form method='post'    enctype='multipart/form-data'>    <input type='file' name='wrapupafile' />    <input type='submit' value='Upload file' />   </form>   File uploaded:    <insert scope='form'    variable='wrapupafile.filename'/>