| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/KnowledgeBase/wp-content/plugins/arforms/core/views/ |
Upload File : |
<?php
$is_multiple = false;
if( isset($_REQUEST['multiple']) && $_REQUEST['multiple'] == true ){
$is_multiple = true;
}
?>
<html>
<head></head>
<body>
<form action="" id="iframe_form" method="post" enctype="multipart/form-data">
<?php $file_size = ($field['max_fileuploading_size'] == "auto") ? "auto" : $field['max_fileuploading_size']* 1048576; ?>
<input type="hidden" name="fd-callback" />
<input type="file" id="fileselect" <?php echo ($is_multiple) ? 'multiple' : ''; ?> name="fileselect" class="original" style="position: absolute; cursor: pointer; top: 0px; width: 75px; height: 35px; left: 0px; z-index: 100; opacity: 0; filter:alpha(opacity=0);" />
<input type="hidden" value="<?php echo $file_size; ?>" id="file_size_<?php echo $field['field_key'] ?>" name="file_size_<?php echo $field['field_key'] ?>" >
</form>
</body>
</html>