<?php
/*
Uploadify v2.1.0
Release Date: August 24, 2009
Copyright (c) 2009 Ronnie Garcia, Travis Nickels
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.
*/
if (!empty($_FILES)) {
$tempFile = $_FILES['Filedata']['tmp_name'];
$targetPath = $_SERVER['DOCUMENT_ROOT'] . $_REQUEST['folder'] . '/';
$targetFile = str_replace('//','/',$targetPath) . $_FILES['Filedata']['name'];
// $fileTypes = str_replace('*.','',$_REQUEST['fileext']);
// $fileTypes = str_replace(';','|',$fileTypes);
// $typesArray = split('\|',$fileTypes);
// $fileParts = pathinfo($_FILES['Filedata']['name']);
// if (in_array($fileParts['extension'],$typesArray)) {
// Uncomment the following line if you want to make the directory if it doesn't exist
// mkdir(str_replace('//','/',$targetPath), 0755, true);
move_uploaded_file($tempFile,$targetFile);
echo "1";
// } else {
// echo 'Invalid file type.';
// }
}
?>
没有合适的资源?快使用搜索试试~ 我知道了~
jquery uploadify aspnet应用是实例
共90个文件
as:58个
js:7个
php:5个
4星 · 超过85%的资源 需积分: 10 54 下载量 5 浏览量
2010-06-10
14:56:49
上传
评论
收藏 377KB RAR 举报
温馨提示
ASPNET2.0中使用jquery.uploadify 使用简便,可以上传多文件大文件!
资源推荐
资源详情
资源评论
收起资源包目录
UploadDemo.rar (90个子文件)
UploadDemo
UploadHandler.ashx 1KB
bin
JQueryUploadDemo.dll 6KB
JQueryUploadDemo.pdb 16KB
web.config 8KB
JS
jquery.uploadify-v2.1.0
uploadify.css 2KB
cancel.png 603B
swfobject.js 10KB
uploadify.php 2KB
expressInstall.swf 727B
jquery-1.3.2.min.js 56KB
com
adobe
net
IURIResolver.as 3KB
MimeTypeMap.as 6KB
URIEncodingBitmap.as 4KB
URI.as 74KB
proxies
RFC2817Socket.as 7KB
DynamicURLLoader.as 2KB
utils
DictionaryUtil.as 3KB
ArrayUtil.as 5KB
XMLUtil.as 5KB
NumberFormatter.as 2KB
StringUtil.as 7KB
DateUtil.as 17KB
IntUtil.as 3KB
protocols
dict
Database.as 616B
Dict.as 10KB
events
ErrorEvent.as 616B
DatabaseEvent.as 464B
ConnectedEvent.as 245B
DictionaryServerEvent.as 464B
MatchStrategiesEvent.as 492B
MatchEvent.as 440B
DefinitionEvent.as 537B
NoMatchEvent.as 239B
DisconnectedEvent.as 254B
DefinitionHeaderEvent.as 527B
DictionaryServer.as 509B
Definition.as 696B
Response.as 652B
MatchStrategy.as 626B
util
SocketHelper.as 1KB
CompleteResponseEvent.as 446B
images
PNGEncoder.as 5KB
BitString.as 2KB
JPGEncoder.as 19KB
fileformats
vcard
VCard.as 2KB
Email.as 2KB
Phone.as 2KB
Address.as 2KB
VCardParser.as 7KB
serialization
json
JSONToken.as 3KB
JSONTokenType.as 2KB
JSON.as 3KB
JSONEncoder.as 9KB
JSONDecoder.as 7KB
JSONTokenizer.as 15KB
JSONParseError.as 3KB
crypto
SHA256.as 9KB
MD5.as 10KB
MD5Stream.as 17KB
HMAC.as 4KB
SHA1.as 8KB
SHA224.as 9KB
WSSEUsernameToken.as 4KB
errors
IllegalStateError.as 2KB
air
logging
FileTarget.as 3KB
webapis
events
ServiceEvent.as 2KB
ServiceBase.as 2KB
URLLoaderBase.as 4KB
uploadify.fla 123KB
jquery.uploadify.v2.1.0.js 13KB
check.php 1KB
uploadify.allglyphs.swf 234KB
example
css
uploadify.css 2KB
_notes
dwsync.xml 322B
default.css 177B
uploads
cancel.png 603B
index.php 1KB
_notes
dwsync.xml 317B
scripts
swfobject.js 10KB
_notes
dwsync.xml 1007B
uploadify.php 2KB
expressInstall.swf 727B
jquery-1.3.2.min.js 56KB
check.php 1KB
uploadify.swf 23KB
jquery.uploadify.v2.1.0.min.js 7KB
uploadify.swf 23KB
jquery.uploadify.v2.1.0.min.js 7KB
UploadFile
App_Data
Default.aspx 2KB
Default.aspx.cs 427B
共 90 条
- 1
leishengql
- 粉丝: 2
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页