PHP 8.2.31
Preview: file_field-i.yaml Size: 1.34 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/file_field-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generate an File Upload Input element as a string.
- !ruby/struct:SM::Flow::P 
  body: The attributes of the element can be specified as three arguments, <tt>name</tt>, <tt>size</tt>, and <tt>maxlength</tt>. <tt>maxlength</tt> is the maximum length of the file's <em>name</em>, not of the file's <em>contents</em>.
- !ruby/struct:SM::Flow::P 
  body: Alternatively, the attributes can be specified as a hash.
- !ruby/struct:SM::Flow::P 
  body: "See #multipart_form() for forms that include file uploads."
- !ruby/struct:SM::Flow::VERB 
  body: "  file_field(&quot;name&quot;)\n    # &lt;INPUT TYPE=&quot;file&quot; NAME=&quot;name&quot; SIZE=&quot;20&quot;&gt;\n\n  file_field(&quot;name&quot;, 40)\n    # &lt;INPUT TYPE=&quot;file&quot; NAME=&quot;name&quot; SIZE=&quot;40&quot;&gt;\n\n  file_field(&quot;name&quot;, 40, 100)\n    # &lt;INPUT TYPE=&quot;file&quot; NAME=&quot;name&quot; SIZE=&quot;40&quot; MAXLENGTH=&quot;100&quot;&gt;\n\n  file_field(&quot;NAME&quot; =&gt; &quot;name&quot;, &quot;SIZE&quot; =&gt; 40)\n    # &lt;INPUT TYPE=&quot;file&quot; NAME=&quot;name&quot; SIZE=&quot;40&quot;&gt;\n"
full_name: CGI::HtmlExtension#file_field
is_singleton: false
name: file_field
params: (name = "", size = 20, maxlength = nil)
visibility: public

Directory Contents

Dirs: 0 × Files: 23

Name Size Perms Modified Actions
1005 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
702 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
865 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
799 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.83 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.10 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.79 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.34 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.54 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.27 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.06 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.05 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.37 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.78 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.16 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
2.10 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
941 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
272 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.06 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1000 B lrw-r--r-- 2023-07-26 13:47:19
Edit Download
1.48 KB lrw-r--r-- 2023-07-26 13:47:19
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).