KENT-WEB ¥µ¥Ý¡¼¥È¥³¡¼¥Ê¡¼ ²áµî¥í¥° [ 0101 ]


µ­»öNo¡§ 16016
Åê¹ÆÆü¡§ 2018/09/28(Fri) 09:09:54
¥¿¥¤¥È¥ë¡§ Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ thr1978
Åê¹Æ¼Ô¡§ thr
URL¡§ http://kcon-pro.or.jp/member/perlify10/index.cgi

¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

Perlify Uploader ¤òÀßÃÖ¤·¤¿¤Î¤Ç¤¹¤¬
¥Õ¥¡¥¤¥ëÁªÂò¸å¤Î¥¢¥×¥í¡¼¥É½èÍý¤Ç
¥Ö¥é¥¦¥¶Ëè¤ËÆ°ºî¤¹¤ë¡¦¤·¤Ê¤¤¤¬È¯À¸¤·¤Æ¤¤¤Þ¤¹¡£

IE¤Ç¤ÏÆ°ºî¤¹¤ë¤Î¤Ç¤¹¤¬¡¢Æ°ºî¤·¤Ê¤¤¾ì¹ç¤Ï
¥Õ¥¡¥¤¥ëÁªÂò¸å¤Ë¥×¥í¥°¥ì¥¹¥Ð¡¼¤¬É½¼¨¤µ¤ì¤º¤Ë
½èÍý¤¬¤¹¤¹¤ß¤Þ¤»¤ó¡£

Æ°ºî³Îǧ¤Î´Ä¶­¤Ï²¼µ­¤ÎÄ̤ê¤Ç¤¹¡£

¡¡OS¡§Win10Pro¡¡¥Ð¡¼¥¸¥ç¥ó1803¡¡
¡¡IE¡§11.285.17134.0
¡¡Edge¡§Microsoft Edge 42.17134.1.0
¡¡Chrome¡§69.0.3497.100¡ÊOfficial Build¡Ë ¡Ê64 ¥Ó¥Ã¥È¡Ë

¡Ú¼ÁÌä¡Û
¡¡­¡¥Ö¥é¥¦¥¶Ëè¤ËÆ°ºî¤¹¤ë¡¦¤·¤Ê¤¤¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£
¡¡¡¡¤¢¤ë¥Ö¥é¥¦¥¶¤Ç¤ÏÂбþ¤·¤Æ¤¤¤ë¤¬¡¢¤½¤Î¾¤Ï¤·¤Æ¤¤¤Ê¤¤Åù¡£

¡¡­¢Æ°ºî¤·¤Ê¤¤ÌäÂê¤Ï¥Ö¥é¥¦¥¶¤ÎÀßÄêÊѹ¹Åù¤Ç
¡¡¡¡²ò·è²Äǽ¤Ç¤·¤ç¤¦¤«¡©¡£

¼«Ê¬¤Ê¤ê¤Ëgoogle¤Ç¤âÄ´¤Ù¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬
Æ°ºî¤·¤Ê¤¤¸¶°ø¤¬¤ï¤«¤é¤º¡¢¼¡¤ÎÂбþ¤Ë°Ü¤ì¤Ê¤¤¼¡Âè¤Ç¤¹¡£

¤ª¼ê¿ô¤Ç¤¹¤¬¡¢¤´¶µ¼ø¤ª´ê¤Ç¤­¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£


µ­»öNo¡§ 16019
Åê¹ÆÆü¡§ 2018/10/01(Mon) 09:33:36
¥¿¥¤¥È¥ë¡§ Re: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ teketen
Åê¹Æ¼Ô¡§ ¤Æ¤±¤Æ¤ó

¤½¤¦¤Ç¤¹¤Í¡£
JavaScript¤òÍøÍѤ·¤Æ¤¤¤ë¤¿¤á¡¢µ­½ÒÊýË¡¤Ë¤è¤Ã¤Æ¤Ï¡¢Âбþ¤·¤Æ¤¤¤Ê¤¤¥Ö¥é¥¦¥¶¤¬¤¢¤ë¤Î¤À¤È»×¤¤¤Þ¤¹¡£
KENT¤µ¤ó¤¬ºÎÍѤµ¤ì¤¿¤Î¤Ï¡¢Uploadify¤È¤¤¤¦¥×¥é¥°¥¤¥ó¤Ç¤¹¡£
JavaScript¤Ï¾Ü¤·¤¯¤Ê¤¤¤Î¤Ç¡¢¤½¤Î²¿¤¬¸¶°ø¤«¤Ïʬ¤«¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡£
¥í¡¼¥«¥ë´Ä¶­¤Ç»î¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢³Î¤«¤Ë¡¢Æ°ºî¤·¤Ê¤¤¥Ö¥é¥¦¥¶¤¬¤¢¤ê¤Þ¤·¤¿¡£
»ä¤Î´Ä¶­¡ÊWindows10¡Ë¤Ç¤Ï¡¢Windows Edge¤Ï¡¢¥Õ¥¡¥¤¥ëÁªÂò¤µ¤¨¤â½ÐÍè¤Þ¤»¤ó¤Ç¤·¤¿¡£

¸½Ãʳ¬¤Ç¤Ï¡¢¥Ö¥é¥¦¥¶¤ÎÀßÄê¤Ç¡¢¤É¤¦¤Ë¤«½ÐÍè¤ë¤È¤Ï»×¤¨¤Þ¤»¤ó¤Î¤Ç¡¢Æ°ºî¤¹¤ë¥Ö¥é¥¦¥¶¤ò»È¤¦¤·¤«¤¢¤ê¤Þ¤»¤ó¡£

¤¿¤À¡¢Ê̤ÎJavaScript¤Î¥×¥é¥°¥¤¥ó¤ò»È¤¦¤È¡¢¥¢¥Ã¥×¥í¡¼¥É½ÐÍè¤Þ¤·¤¿¡£
»î¤·¤¿¥Ö¥é¥¦¥¶¤Ï¡¢Opera12.18¡¢Vivaldi1.15.1147.42¡¢Firefox59.0.3¡¢CyberFox48.0.2¡¢IE11¡¢Windows Edge¤Ç¤¹¡£
»ä¤¬»ÈÍѤ·¤¿¤Î¤Ï¡¢
https://danielmg.org/demo/java-script/uploader
¤³¤Á¤é¤Î¤â¤Î¤Ç¤¹¡£
¥Õ¥¡¥¤¥ë¤ò¥É¥é¥Ã¥°¤·¤Æ¥¢¥Ã¥×¥í¡¼¥É²Äǽ¤Ç¤¹¡£
ÌÞÏÀ¡¢°ìÅÙ¤ËÊ£¿ô¥¢¥Ã¥×¥í¡¼¥É½ÐÍè¤Þ¤¹¡£

²þ¤¤·¤¿¤ê¡¢¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤¿¤ê¤Èºî¶È¤¬¤¢¤ê¤Þ¤¹¤¬¡¢Uploadify¤ÈÊ»ÍѤµ¤ì¤Þ¤¹¤«¡©
¡Êº£¤Þ¤Ç¤Î¥×¥é¥°¥¤¥óUploadify¤â»È¤¨¤ë¤è¤¦¤Ë¤´°ÆÆ⤷¤Þ¤¹¡Ë


µ­»öNo¡§ 16027
Åê¹ÆÆü¡§ 2018/10/02(Tue) 07:44:20
¥¿¥¤¥È¥ë¡§ Re^2: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ thr1978
Åê¹Æ¼Ô¡§ thr

¤Æ¤±¤Æ¤ó¤µ¤ó

¤´ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

¤´°ÆÆ⤤¤¿¤À¤¤¤¿¥×¥é¥°¥¤¥ó¤Î¤è¤¦¤ÊÁàºîÀ­¤Ç
¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢»ÈÍѤ·¤Æ¤¤¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

¤ª¼ê¿ô¤Ç¤·¤ç¤¦¤¬¡¢¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£


µ­»öNo¡§ 16030
Åê¹ÆÆü¡§ 2018/10/02(Tue) 10:48:50
¥¿¥¤¥È¥ë¡§ Re^3: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ teketen
Åê¹Æ¼Ô¡§ ¤Æ¤±¤Æ¤ó

> ¤´°ÆÆ⤤¤¿¤À¤¤¤¿¥×¥é¥°¥¤¥ó¤Î¤è¤¦¤ÊÁàºîÀ­¤Ç
> ¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢»ÈÍѤ·¤Æ¤¤¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

λ²ò¤·¤Þ¤·¤¿¡£
⤷¡¢KENT¤µ¤ó¤¬»ÈÍѤµ¤ì¤¿Uploadify¤È¤Ï°ã¤¤¡¢¥¢¥Ã¥×¥í¡¼¥É¤ÎºÝ¤Ë¥µ¡¼¥Ð¡¼¾å¤Î¥Õ¥¡¥¤¥ë¤ò³Îǧ¤¹¤ëºî¶È¤¬¤¢¤ê¤Þ¤»¤ó¡£
¤Ç¤¹¤Î¤Ç¡¢¥µ¡¼¥Ð¡¼¾å¤ËƱ¤¸¥Õ¥¡¥¤¥ë̾¤¬Í­¤ë¾ì¹ç¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤ÎÁ°¤Ë¡ÖtimeÃÍ-¡×¤¬Éղ䵤ì¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£
¤½¤ì¤Ç¤âµ¹¤·¤±¤ì¤Ð¡¢°Ê²¼¤Î²þ¤¤ò¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£

¢¨²þ¤¤Ï¡¢¼«¸ÊÀÕǤ¤Ç¤ª´ê¤¤¤·¤Þ¤¹¡£
¢¨²¿¤«¤¢¤Ã¤¿ºÝ¤Ï¡¢¸µ¤ËÌᤷ¤Æ²¼¤µ¤¤¡£
¢¨¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

------------------------------------------
¤Þ¤º¡¢¡ÖdmUploader - jQuery Ajax File Uploader Widget¡×¤ò
https://github.com/danielm/uploader/releases
¤è¤ê¡ÖSource code¡×¤«¤é¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤¹¡£
¥À¥¦¥ó¥í¡¼¥É¤·¤¿¤â¤Î¤ò²òÅष¤Æ²¼¤µ¤¤¡£
»ÈÍѤ¹¤ë¥Õ¥¡¥¤¥ë¤Ï¡¢demo¥Õ¥©¥ë¥ÀÆâ¤Î
demo-ui.js
styles.css
¤È¡¢dist¥Õ¥©¥ë¥À¡ÊÃæ¿È¤â¡Ë¤Ç¤¹¡£

¾¤ËɬÍפÊJavaScript¥×¥é¥°¥¤¥ó¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤¹¡£
https://code.jquery.com/jquery-3.2.1.min.js
¤è¤ê¡¢jquery-3.2.1.min.js¤ò
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css
https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/js/bootstrap.min.js
¤è¤ê¡¢bootstrap.min.css¤Èbootstrap.min.js¤ò¤½¤ì¤¾¤ì¥À¥¦¥ó¥í¡¼¥É¤·¤Æ²¼¤µ¤¤¡£

¼¡¤Ë¡¢¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¡£
²¼µ­¤Îhtml¤ò¥³¥Ô¡¼¤·¤Æ¡¢¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ë¥Ú¡¼¥¹¥È¤·¤Æ¡¢utf8¡ÊBOM¤Ê¤·¡Ë¤ÇÊݸ¤·¤Æ¤¯¤À¤¤¡£
¥Õ¥¡¥¤¥ë̾¤Ï¡¢form2.html¤È¤·¤Þ¤¹¡£
¾¤Î¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ÈƱ¤¸¡¢tmpl¥Ç¥£¥ì¥¯¥È¥ê¡Ê¥Õ¥©¥ë¥À¡Ë¤Ë³ÊǼ¤·¤Æ²¼¤µ¤¤¡£
ʸ¾Ï¤Ï¡¢¼«Í³¤ËÊѹ¹¤µ¤ì¤Æ¹½¤¤¤Þ¤»¤ó¡Ê±Ñ¸ì¤òÊѹ¹¤·¤ÆÆ°ºî¤¹¤ë¤«¤Ï¡¢¤´¼«Ê¬¤Ç¤ª»î¤·²¼¤µ¤¤¡£»ä¤Ï»î¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç^^;¡Ë¡£
¥Ç¥¶¥¤¥ó¤òÊѹ¹¤µ¤ì¤ë¾ì¹ç¤Ï¡¢class̾¤ÏÊѹ¹¤µ¤ì¤Æ¤â¹½¤¤¤Þ¤»¤ó¤¬¡¢ID̾¤ÏÊѹ¹¤·¤Ê¤¤¤Ç²¼¤µ¤¤¡£
¡Êclass̾¤òÊѹ¹¤µ¤ì¤¿¾ì¹ç¤Ï¡¢¥¹¥¿¥¤¥ë¥·¡¼¥È¤âÊѹ¹¤µ¤ì¤Æ²¼¤µ¤¤¡Ë
°Ê²¼¤Îhtml¤Ï¡¢demo¥Õ¥©¥ë¥À¤Îindex.html¥Õ¥¡¥¤¥ë¤ÎÆâÍƤˡ¢demo-config.js¤òPerlifyÍѤ˲þ¤¤·¤ÆÁÞÆþ¤·¤¿¤â¤Î¤Ç¤¹¡£
¥Ç¥¶¥¤¥ó¤â¡¢Perlify¤Ã¤Ý¤¯¤·¤Æ¤¤¤Þ¤¹¡£

¢¨³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤äJavaScript¥Õ¥¡¥¤¥ë¤Ê¤É¤Î¥Ñ¥¹¤Ï¡¢¤´¼«Ê¬¤Ç¥¢¥Ã¥×¥í¡¼¥É¤µ¤ì¤ë¾ì½ê¤ËÊѹ¹¤·¤Æ²¼¤µ¤¤¡£

ÀâÌÀ¤¬Ä¹¤¯¤Ê¤ë¤Î¤Ç¡¢html¥½¡¼¥¹¤òµ­½Ò¤·¤Æ¤«¤é¡¢Â³¤­¤ÏÊÖ¿®¤Ë½ñ¤­¤Þ¤¹¡£

°Ê²¼¤¬¡¢form2.html¤ÎÆâÍƤȤʤê¤Þ¤¹¡£
---------------------------------------------

<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8" />
<title>!html_title!</title>

<link rel="stylesheet" type="text/css" href="perlify.css" />
<link rel="stylesheet" type="text/css" href="uploadify.css" />

<link rel="stylesheet" type="text/css" href="./bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="./dist/css/jquery.dm-uploader.min.css" />
<link rel="stylesheet" type="text/css" href="./styles.css" />
<script src="./jquery-3.2.1.min.js"></script>
<script src="./bootstrap.min.js"></script>
<script src="./dist/js/jquery.dm-uploader.min.js"></script>
<script src="demo-ui.js"></script>

<script type="text/javascript">
<!--
$(function(){
$('#drag-and-drop-zone').dmUploader({ //
url: 'uploadify.cgi',
maxFileSize: !maxdata2!,
extFilter: [!extension!],
fieldName: 'Filedata',
onDragEnter: function(){
this.addClass('active');
},
extraData: function() {
return {
"timestamp": $('#timestamp').val(),
"token": $('#token').val(),
"js": $('#js').val(),
};
},
onDragLeave: function(){
this.removeClass('active');
},
onInit: function(){
ui_add_log('Penguin initialized :)', 'info');
},
onComplete: function(){
ui_add_log('All pending tranfers finished');
},
onNewFile: function(id, file){
ui_add_log('New file added #' + id);
ui_multi_add_file(id, file);
},
onBeforeUpload: function(id){
ui_add_log('Starting the upload of #' + id);
ui_multi_update_file_status(id, 'uploading', 'Uploading...');
ui_multi_update_file_progress(id, 0, '', true);
},
onUploadCanceled: function(id) {
ui_multi_update_file_status(id, 'warning', 'Canceled by User');
ui_multi_update_file_progress(id, 0, 'warning', false);
},
onUploadProgress: function(id, percent){
ui_multi_update_file_progress(id, percent);
},
onUploadSuccess: function(id, data){
ui_add_log('Server Response for file #' + id + ': ' + JSON.stringify(data));
ui_add_log('Upload of file #' + id + ' COMPLETED', 'success');
ui_multi_update_file_status(id, 'success', 'Upload Complete');
ui_multi_update_file_progress(id, 100, 'success', false);
},
onUploadError: function(id, xhr, status, message){
ui_multi_update_file_status(id, 'danger', message);
ui_multi_update_file_progress(id, 0, 'danger', false);
},
onFallbackMode: function(){
ui_add_log('Plugin cant be used here, running Fallback callback', 'danger');
},
onFileSizeError: function(file){
ui_add_log('File \'' + file.name + '\' cannot be added: size excess limit', 'danger');
},
onFileTypeError: function(file){
ui_add_log('File \'' + file.name + '\' cannot be added: must be an image (type error)', 'danger');
},
onFileExtError: function(file){
ui_add_log('File \'' + file.name + '\' cannot be added: must be an image (extension error)', 'danger');
}
});
});
// -->
</script>

</head>

<body>
<div id="head">
<div id="head-in">
<h1 style="font-size:24px;">!html_title! : ¥µ¥Ö¥Õ¥©¡¼¥à</h1>
<div id="panel">
<a href="!index_cgi!" class="button" style="width: 150px;margin-right: 6px;text-align: center;" />Åê¹Æ¥Õ¥©¡¼¥à</a>
<a href="!index_cgi!?mode=list" class="button" style="width: 150px;margin-right: 6px;text-align: center;" />¥Õ¥¡¥¤¥ë°ìÍ÷</a>
<a href="!index_cgi!?js=dm" class="button" style="width: 150px;margin-right: 6px;text-align: center;" />¥µ¥Ö¥Õ¥©¡¼¥à</a>
</div>
</div>
</div>
<div class="container">
<div class="ttl" style="background: #fff; padding: 8px;">!icon:add.png! ¥µ¥Ö¥Õ¥©¡¼¥à
<ul>
<li><span style="color:#f00">Ä̾ï¤Ï¡¢¡ÖÅê¹Æ¥Õ¥©¡¼¥à¡×¤è¤ê¥¢¥Ã¥×¥í¡¼¥É¤ò¹Ô¤Ã¤Æ²¼¤µ¤¤¡£<br />
¤³¤Á¤é¤«¤é¤Î¥¢¥Ã¥×¥í¡¼¥É¤Ï¡¢¥µ¡¼¥Ð¡¼¾å¤Î¥Õ¥¡¥¤¥ë¤Î³Îǧ¤ò¤»¤º¡¢Æ±¥Õ¥¡¥¤¥ë̾¤Ï¡¢¥Õ¥¡¥¤¥ë̾¤ÎÀèƬ¤ËtimeÃͤÈ-¤¬Éղ䵤ì¤Þ¤¹¡£</span></li>
<li>¥Õ¥¡¥¤¥ë¤ò¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¤Ë¤Ï²¼µ­ <b>¡ÖSELECT FILES¡×</b> ¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¡¢¥Õ¥¡¥¤¥ë¤òÁªÂò¤¹¤ë¤«¡¢»ØÄêÎΰè¤Ë¥Õ¥¡¥¤¥ë¤ò¥É¥é¥Ã¥°¤·¤Æ²¼¤µ¤¤¡£</li>
<li>°ìÅÙ¤ËÊ£¿ô¤Î¥Õ¥¡¥¤¥ë¤òÁªÂò¡¦¥É¥é¥Ã¥°¡¦¥¢¥Ã¥×¥í¡¼¥É¤¹¤ë¤³¤È¤â²Äǽ¤Ç¤¹¡£
¡ÊWindows¤Ç¤Ï¡¢CTRL¥­¡¼¤ò²¡¤·¤Ê¤¬¤éÊ£¿ôÁªÂò¡Ë</li>
<li>ÁªÂò²Äǽ¤Ê¥Õ¥¡¥¤¥ë¤Ï¡¢<span>!allow_ext!</span> ¤Ç¤¹¡£</li>
<li>¥¢¥Ã¥×¥í¡¼¥É¤¬²Äǽ¤Ê¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤Ï¡¢ºÇÂç <span>!maxdata!</span> ¤Ç¤¹¡£</li>
</ul></div>
</div>

<main role="main" class="container">
<div class="row">
<div class="col-md-6 col-sm-12">

<!-- Our markup, the important part here! -->
<div id="drag-and-drop-zone" class="dm-uploader p-5">
<h3 class="mb-5 mt-5 text-muted">¥Õ¥¡¥¤¥ë¤òÁªÂò¤¹¤ë¤«¡¢¤³¤ÎÎΰè¤Î¾å¤Ë¥É¥é¥Ã¥°¤·¤Þ¤¹¡£</h3>

<div class="btn btn-primary btn-block mb-5">
<span>SELECT FILES</span>
<form>
<input id="timestamp" name="timestamp" type="hidden" value="!timestamp!" />
<input id="token" name="token" type="hidden" value="!md5:unique_salt!" />
<input id="js" name="js" type="hidden" value="dm" />
<input id="file_upload" name="Filedata" type="file" multiple="true" title='¥¯¥ê¥Ã¥¯¤ÇźÉÕ¥Õ¥¡¥¤¥ëÁªÂò' />
</form>
</div>
</div><!-- /uploader -->

</div>

<div class="col-md-6 col-sm-12">
<div class="card h-100">
<div class="card-header">
źÉÕ¥Õ¥¡¥¤¥ë°ìÍ÷
</div>

<ul class="list-unstyled p-2 d-flex flex-column col" id="files">
<li class="text-muted text-center empty">º£²ó¥¢¥Ã¥×¥í¡¼¥É¤·¤¿¥Õ¥¡¥¤¥ë¤Ï¤¢¤ê¤Þ¤»¤ó¡£</li>
</ul>
</div>
</div>
</div><!-- /file list -->

<div class="row">
<div class="col-12">
<div class="card h-100">
<div class="card-header">
¥Ç¥Ð¥Ã¥°¥á¥Ã¥»¡¼¥¸
</div>

<ul class="list-group list-group-flush" id="debug">
<li class="list-group-item text-muted empty">Loading plugin....</li>
</ul>
</div>
</div>
</div> <!-- /debug -->

</main> <!-- /container -->

<footer class="text-center" style="font-size: x-small;">
<p>dmUploader: &copy; Daniel Morales &middot; <a href="https://www.danielmg.org">www.danielmg.org</a></p>
</footer>

<!-- File item template -->
<script type="text/html" id="files-template">
<li class="media">
<div class="media-body mb-1">
<p class="mb-2">
<strong>%%filename%%</strong> - Status: <span class="text-muted">Waiting</span>
</p>
<div class="progress mb-2">
<div class="progress-bar progress-bar-striped progress-bar-animated bg-primary"
role="progressbar"
style="width: 0%"
aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
</div>
</div>
<hr class="mt-1 mb-1" />
</div>
</li>
</script>

<!-- Debug item template -->
<script type="text/html" id="debug-template">
<li class="list-group-item text-%%color%%"><strong>%%date%%</strong>: %%message%%</li>
</script>
</body>
</html>


µ­»öNo¡§ 16031
Åê¹ÆÆü¡§ 2018/10/02(Tue) 10:51:23
¥¿¥¤¥È¥ë¡§ Re^4: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ teketen
Åê¹Æ¼Ô¡§ ¤Æ¤±¤Æ¤ó

³¤­¤Ç¤¹¡£
index.cgi¤ò¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ²¼¤µ¤¤¡£
53¹ÔÌÜÉÕ¶á

$tmpl =~ s|!icon:(\w+\.\w+)!|<img src="$cf{iconurl}/$1" class="icon" alt="" />|g;

¤Î¼¡¤Î¹Ô¤Ë

$tmpl =~ s|!maxdata2!|int($cf{maxdata} / 1048576 * 1000000)|eg if($in{js} eq 'dm'); # Äɲà ¢£¢£

¤ò¡¢ÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
42¹ÔÌÜÉÕ¶á

open(IN,"$cf{tmpldir}/form.html") or error('open err: form.html');

¤ò

open(IN,"$cf{tmpldir}/$template") or error("open err: $template"); # Êѹ¹ ¢£¢£

¤ËÊѹ¹¤·¤Þ¤¹¡£
¤½¤Î¾å¤Î¹Ô¤Ë

my $template = $in{js} eq 'dm' ? 'form2.html' : 'form.html'; # Äɲà ¢£¢£

¤òÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
32¹ÔÌÜÉÕ¶á

$ext .= "*.$_; ";

¤ò

$ext .= $in{js} eq 'dm' ? "\"$_\"," : "*.$_; "; # Êѹ¹ ¢£¢£

¤ËÊѹ¹¤·¤Æ²¼¤µ¤¤¡£
index.cgi¤Î²þ¤¤Ï¡¢°Ê¾å¤Ç¤¹¡£
-----------------------------------------------------
¼¡¤Ë¡¢uploadify.cgi¤ò¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ²¼¤µ¤¤¡£

63¹ÔÌÜÉÕ¶á

print '0';

¤ò

if($q->param('js') eq 'dm') { # ²þ¤¤Î¤¿¤áÊѹ¹ ¢£¢£
print "Content-type: application/json;charset=utf-8\n\n";
print qq|[{"status":"error","message":"error"}]\n|;
} else {
print '0';
}

¤ËÊѹ¹¡¢49¹ÔÌÜÉÕ¶á

open(OUT,"> $cf{upldir}/$fnam");

¤Î¾å¤Î¹Ô¤Ë

if($q->param('js') eq 'dm') { # ²þ¤¤Î¤¿¤áÄɲà ¢£¢£
$fnam = (split(/\\/,$fnam))[-1] if($fnam =~ /^[C-Z]:/);
$fnam = time . "-$fnam" if(-f "$cf{upldir}/$fnam");
}

¤òÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
uploadify.cgi¤Î²þ¤¤Ï¡¢°Ê¾å¤Ç¤¹¡£
-----------------------------------------------------
¼¡¤Ë¡¢¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ëform.html¤Èlist.html¤ò¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿¤Ç³«¤¤¤Æ²¼¤µ¤¤¡£

<a href="!index_cgi!?mode=list" class="button" />¥Õ¥¡¥¤¥ë°ìÍ÷</a>

¤Î¼¡¤Î¹Ô¤Ë

<a href="!index_cgi!?js=dm" class="button" />¥µ¥Ö¥Õ¥©¡¼¥à</a>

¤ò¤½¤ì¤¾¤ìÁÞÆþ¤·¤Æ²¼¤µ¤¤¡£
°Ê¾å¤Ç²þ¤¤Ï½ªÎ»¤Ç¤¹¡£
¤³¤Î²þ¤¤Ï¡¢º£¤Þ¤Ç¤Îµ¡Ç½¤â³è¤«¤·¤¿¾å¤Ç¡¢Ê̤ÎÅê¹Æ¥Õ¥©¡¼¥à¤âÍøÍѤ¹¤ëÊýË¡¤ò¼è¤ê¤Þ¤·¤¿¡£

-----------------------------------------------------
¤¢¤È¤Ï¡¢²þ¤¤·¤¿¥¹¥¯¥ê¥×¥È¤Îº¹¤·Âؤ¨¤È¡¢Àè¤Ë¥À¥¦¥ó¥í¡¼¥É¤·¤¿JavaScript¤ä³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤ò¥¿¥°¤Çµ­½Ò¤·¤¿¾ì½ê¤Ë¥¢¥Ã¥×¥í¡¼¥É¤·¤Æ²¼¤µ¤¤¡£


µ­»öNo¡§ 16051
Åê¹ÆÆü¡§ 2018/10/05(Fri) 08:07:33
¥¿¥¤¥È¥ë¡§ Re^5: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ thr1978
Åê¹Æ¼Ô¡§ thr
URL¡§ http://kcon-pro.or.jp/member/perlify10/index.cgi

¤Æ¤±¤Æ¤ó¤µ¤ó

¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

̵»öÀßÃÖ´°Î»¤·¡¢²¼µ­¤Î¥Ö¥é¥¦¥¶¤ÇÆ°ºî³Îǧ¤Ç¤­¤Þ¤·¤¿¡£

¡¡IE¡§11.285.17134.0
¡¡Edge¡§Microsoft Edge 42.17134.1.0
¡¡Chrome¡§69.0.3497.100¡ÊOfficial Build¡Ë ¡Ê64 ¥Ó¥Ã¥È¡Ë

¤³¤ÎÅ٤ϡ¢¤´Âбþ¤¤¤¿¤À¤­¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
ÂçÊѽõ¤«¤ê¤Þ¤·¤¿¡£

¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£


µ­»öNo¡§ 16028
Åê¹ÆÆü¡§ 2018/10/02(Tue) 07:49:52
¥¿¥¤¥È¥ë¡§ Re: Perlify Uploader¡¡¤Ç¥¢¥Ã¥×¥í¡¼¥É¤Ç¤­¤Ê¤¤¡£
ID¾ðÊó¡§ thr1978
Åê¹Æ¼Ô¡§ thr

³Æ°Ì

¤ªÀ¤Ïäˤʤê¤Þ¤¹¡£

¤ª¤«¤²¤µ¤Þ¤Ç¡¢¼ÁÌä¤ËÂФ¹¤ë²óÅú¤¬ÆÀ¤é¤ì¤Þ¤·¤¿¡£

»²¾ÈÀè¤ÎCGI¤Ë¤Ä¤¤¤Æ¡¢
¤À¤ì¤Ç¤â¥¢¥Ã¥×¥í¡¼¥É²Äǽ¤Ê¾õÂ֤Ǥ·¤¿¤Î¤Ç
ÀßÄê¤òÊѹ¹¤µ¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹¡£

¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£


[¸¡º÷¥Ú¡¼¥¸]