tcl-mod_dtcl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject cvs commit: mod_dtcl/docs documentation.html
Date Mon, 19 Mar 2001 18:56:25 GMT
davidw      01/03/19 10:56:25

  Modified:    docs     documentation.html
  Log:
  Minor edits to documentation file.
  
  Revision  Changes    Path
  1.7       +25 -6     mod_dtcl/docs/documentation.html
  
  Index: documentation.html
  ===================================================================
  RCS file: /home/cvs/mod_dtcl/docs/documentation.html,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- documentation.html	2001/03/08 14:41:51	1.6
  +++ documentation.html	2001/03/19 18:56:24	1.7
  @@ -1,4 +1,4 @@
  -<!-- $Id: documentation.html,v 1.6 2001/03/08 14:41:51 davidw Exp $ -->
  +<!-- $Id: documentation.html,v 1.7 2001/03/19 18:56:24 davidw Exp $ -->
         <h2>mod_dtcl Documentation</h2>
         
         <h3>1) Installation</h3>
  @@ -187,6 +187,14 @@
   	  MaxRequestsPerChild is 0.
   	</li>
   
  +
  +	<li>
  +	  <code><b>Dtcl_UploadFilesToVar <i>1/0</i></b></code><br>

  +	  If set to 1, files will be uploaded to the variable
  +	  UPLOAD(data).  Be careful with this, as large files could
  +	  use up your memory.
  +	</li>
  +
         </ul>
   
         <h3>3) mod_dtcl specific Tcl commands and variables</h3>
  @@ -273,17 +281,28 @@
   	</li>
   
   	<li>
  +	  Note that these variables may be lists if more than one file
  +	  is uploaded at a time.<br>
   	  <code><b>$::request::UPLOAD(filename)</b></code><br>
  -	  The filename of the uploaded file.
  +	  The filename of the uploaded file.<br>
  +
   	  <code><b>$::request::UPLOAD(name)</b></code><br>
  -	  The form variable name of the upload.
  +	  The form variable name of the upload.<br>
  +
   	  <code><b>$::request::UPLOAD(size)</b></code><br>
  -	  The size of the uploaded file.
  +	  The size of the uploaded file.<br>
  +
   	  <code><b>$::request::UPLOAD(type)</b></code><br>
  -	  The content type of the file upload. <i>Not always available!</i>
  +	  The content type of the file upload. <i>Not always available!</i><br>
  +
   	  <code><b>$::request::UPLOAD(channelname)</b></code><br>
   	  The name of a Tcl channel which may be used to manipulate
  -	  the uploaded file.
  +	  the uploaded file.  If Dtcl_UploadFilesToVar is set, this
  +	  variable doesn't get created.<br>
  +
  +	  <code><b>$::request::UPLOAD(data)</b></code><br>
  +	  Contents of the uploaded file, if Dtcl_UploadFilesToVar is
  +	  set.<br>
   	</li>
   
         </ul>
  
  
  

Mime
View raw message