Server IP : 66.29.132.122 / Your IP : 3.21.100.34 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/CGI/HtmlExtension/ |
Upload File : |
--- !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("name")\n # <INPUT TYPE="file" NAME="name" SIZE="20">\n\n file_field("name", 40)\n # <INPUT TYPE="file" NAME="name" SIZE="40">\n\n file_field("name", 40, 100)\n # <INPUT TYPE="file" NAME="name" SIZE="40" MAXLENGTH="100">\n\n file_field("NAME" => "name", "SIZE" => 40)\n # <INPUT TYPE="file" NAME="name" SIZE="40">\n" full_name: CGI::HtmlExtension#file_field is_singleton: false name: file_field params: (name = "", size = 20, maxlength = nil) visibility: public