Tag:File upload

  • Vue + thinkphp5.1 + Axios to upload files

    Time:2021-9-2

    In this paper, an example is shared for you to upload files using thinkphp5.1 + Vue + Axios + for your reference. The specific contents are as follows preface Use thinkphp5.1 + Vue + Axios + to upload files 1、 Page code <!DOCTYPE html> <html> <head> <meta charset=”utf-8″> < title > upload demo < / […]

  • Tp3.2.3 detailed explanation of frame file upload operation examples

    Time:2021-9-1

    This paper describes the upload operation of tp3.2.3 framework file with an example. Share with you for your reference, as follows: Upload Forms Using the upload function in ThinkPHP requires no special processing. For example, the following is a form submission with attachment upload: <form action=”__URL__/upload” enctype=”multipart/form-data” method=”post” > <input type=”text” name=”name” /> <input type=”file” […]

  • Example of Ajax file upload effect implemented by iframe

    Time:2021-7-27

    Copy codeThe code is as follows: < span style = “font family: Verdana, ‘Ms song’, Arial, Microsoft YaHei, Helvetica, sans serif; font-size: 14px; line-height: 21px; text-align: left; background-color: rgb(255, 254, 247); “> Avascript section</span> Copy codeThe code is as follows: <!doctype html> <html> <head> <meta charset=utf-8> <head> < title > Ajax file upload ~ ~ […]

  • Analysis of picture / file upload function realized by ThinkPHP framework + layui

    Time:2021-7-25

    This article describes the picture / file upload function realized by ThinkPHP framework + layui. Share with you for your reference, as follows: It is used in the project and found ready-made code on the Internet. It is an excuse for abnormal or illegal upload, so it will be shared with you after some exploration. […]

  • Mobile HTML5 to achieve file upload function [code attached]

    Time:2021-7-17

    The PC side uploads files mostly with plug-ins. It doesn’t matter to introduce flash, but if the mobile side still uses all kinds of redundant plug-ins, it is estimated that they will be sprayed to death. The project needs to do image upload function. Since H5 has related interfaces and good compatibility, of course, H5 […]

  • JSP file upload browsing, support IE6, IE7, IE8

    Time:2021-6-2

    Looking for a long time, finally found a JSP can use… Share!! Copy codeThe code is as follows: <%@ page language=”java” contentType=”text/html; charset=UTF-8″     pageEncoding=”UTF-8″%> <%@ taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core”%> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”>     <head>         <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />         <link rel=”stylesheet” href=”../css/common.css” href=”css/common.css” type=”text/css” />         < Title > management area        <style […]

  • File upload and encapsulation with PHP

    Time:2021-5-13

    This example for you to share the PHP file upload operation and encapsulation of the specific code, for your reference, the specific content is as follows There are two main steps to upload PHP files 1. First, the front-end HTML writes the file form and uploads the web page 2. When the front-end point is […]

  • HTML5 drag file upload example code

    Time:2021-5-5

    Upload file HTML5 adds a new file API, which provides the possibility of local operation of files We can select file by file form or drag and drop operation, and read file name, size, type and modification time by JavaScript The input form of file type adds the files attribute to save the information of […]

  • Servlet + JSP to upload pictures or files specific ideas and code

    Time:2021-3-8

    Now, whether it is blog forum or enterprise office, it is inseparable from the sharing of resources. Through the way of file upload, we can share with you, so as to achieve extensive communication and exchange among the public. We can not only gain more knowledge and experience from it, but also achieve the purpose […]

  • A simple example of dragging and uploading files in HTML5

    Time:2021-1-29

    In HTML5 PC to achieve a considerable number of functions, work also used to drag upload, specially record the function Trigger event on the drag target (source element): Ondragstart – triggered when the user starts dragging an element Ondrag – triggered when the element is dragging Ondragend – triggered when the user finishes dragging the […]

  • Realization of file upload interface and preview function by clicking image in JSP

    Time:2021-1-5

    It took two days to think about the preview function The task requirements are as follows: 1: There is a pic in the JSP page_ 1)2: Click on the image to pop up an interface similar to resource manager3: After selecting a picture, click pic_ 1 Preview I test the following code on IE8, can […]

  • JSP file upload and download program example

    Time:2020-11-28

    1、 File uploadUpload file is a function often used in Web Development: for example, upload photos in the personnel information management system based on B / s, upload pictures in the news release system and so on….. In order to achieve the function of file upload, we need to comprehensively utilize the relevant classes of […]