<?php /** * Upload * * @author Josh Lockhart <info@joshlockhart.com> * @copyright 2012 Josh Lockhart * @link http://www.joshlockhart.com * @version 2.0.0 * * MIT LICENSE * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ namespace Upload; /** * FileInfo Interface * * @author Josh Lockhart <info@joshlockhart.com> * @since 2.0.0 * @package Upload */ interface FileInfoInterface { public function getPathname(); public function getName(); public function setName($name); public function getExtension(); public function setExtension($extension); public function getNameWithExtension(); public function getMimetype(); public function getSize(); public function getMd5(); public function getDimensions(); public function isUploadedFile(); }
파일 업로드는 다중 파일 업로드, 드래그 앤 드롭 업로드, 진행률 표시줄, 파일 확인, 이미지 오디오 및 비디오 미리 보기, 도메인 간 업로드 등을 지원하는 매우 강력한 파일 업로드 처리 플러그인입니다.
생각하실 수 있는 모든 기능을 갖추고 있다고 할 수 있습니다. 예상하지 못한 기능도 있습니다. .
그러나 기능이 너무 강력하기 때문에 사용하려면 여전히 몇 가지 기본 기술이 필요합니다. 그렇지 않으면 디버깅 및 개발에 어려움을 겪게 됩니다.
이 사이트의 모든 리소스는 네티즌이 제공하거나 주요 다운로드 사이트에서 재인쇄되었습니다. 소프트웨어의 무결성을 직접 확인하십시오! 이 사이트의 모든 리소스는 학습 참고용으로만 사용됩니다. 상업적 목적으로 사용하지 마시기 바랍니다. 그렇지 않으면 모든 결과에 대한 책임은 귀하에게 있습니다! 침해가 있는 경우 당사에 연락하여 삭제하시기 바랍니다. 연락처: admin@php.cn
관련 기사
29Jul2016
6학년 중국어 코스웨어 첫 번째 볼륨: 6학년 중국어 코스웨어 첫 번째 볼륨 업로드 허점을 피하기 위한 PHP 업로드 파일 형식 판단 기능: 다음과 같이 코드를 복사합니다. function ($file_name,$pass_type=array('jpg','jpeg) ','gif','bmp ','png')){ $yx_file = $pass_type; $kzm = substr(strrchr($file_name,"."),1); ,$yx_file); if($는
29Jul2016
PHP 코드: 서버 측에서 디렉토리 생성, 삭제, 파일 업로드 및 삭제를 위한 PHP 코드: