Amazon ec2 でホストされているサーバーで Uploadify を使用しています。ポート 80 と 22 が開いています。Uploadify はどのポートを使用するので、修正できますか?
問題は、uploadify が画像がアップロードされたと顧客に思わせることですが、サーバーに到着しません。hostgator を使用して古いサーバーで動作していたため、ポートだと思います
フォーム上の私のコードは次のとおりです。
// <![CDATA[
$(document).ready(function() {
$("#dialog").dialog({
bgiframe: true,
height: 250,
width:400,
autoOpen: false,
modal: false,
buttons: {
'cancel order': function() {
$(this).dialog('close');
$('#file_upload').uploadifyClearQueue();
$('#file_upload').uploadifyCancel(($('.uploadifyQueueItem').first().attr('id').replace('file_upload','')));
},
'confirm order': function() {
$('#file_upload').uploadifyUpload();
$(this).dialog('close');
}
}
});
$('#file_upload').uploadify({
'uploader' : 'swf/uploadify.swf',
'script' : 'swf/uploadify.php?userid=<?php echo $_SESSION['userid']; ?>',
'cancelImg' : 'image/cancel.png',
'folder' : 'uploads',
'buttonImg' : 'image/uploadbtn.png',
'height' : 120,
'width' : 400,
'sizeLimit' : 299240000,
'auto' : false,
'queueSizeLimit' : 3,
'scriptData': {'session_name': '<?php echo session_id(); ?>'},
'checkScript' : 'ajaxfiles/check.php',
'onSelect' : function(event,ID,fileObj) {
$('#dialog').dialog('open');
var price=$('#templateprice').val();
var txt="You are now uploading 1 image at a price of $ "+price+" pr. image ";
$('#test_para').text(txt);
},
'onError' : function (event,ID,fileObj,errorObj) {
alert(errorObj.type + ' Error: ' + errorObj.info);
},
'onProgress' : function(event,ID,fileObj,data) {
var bytes = Math.round(data.bytesLoaded / 1024);
$('#' + $(event.target).attr('id') + ID).find('.percentage').text(' - ' + bytes + 'KB Uploaded');
return false;
},
'onAllComplete' : function(){ alert("Thank you. File uploaded successfully."); }
});
});
// ]]>