{"id":1826,"date":"2019-07-17T08:19:35","date_gmt":"2019-07-17T00:19:35","guid":{"rendered":"http:\/\/www.hefeiyu.com\/?p=1826"},"modified":"2019-07-17T08:19:35","modified_gmt":"2019-07-17T00:19:35","slug":"ecology%e5%bc%80%e5%8f%91%e4%b9%8b%e4%b8%8a%e4%bc%a0%e7%bb%84%e4%bb%b6","status":"publish","type":"post","link":"https:\/\/www.hefeiyu.com\/?p=1826","title":{"rendered":"ecology\u5f00\u53d1\u4e4b\u4e0a\u4f20\u7ec4\u4ef6"},"content":{"rendered":"<table width=\"959\">\n<tbody>\n<tr>\n<td width=\"214\">\u7ec4\u4ef6<\/td>\n<td colspan=\"3\" width=\"745\">\u4e0a\u4f20\u7ec4\u4ef6\uff1aswfupload<\/td>\n<\/tr>\n<tr>\n<td>\u529f\u80fd\u8bf4\u660e<\/td>\n<td colspan=\"3\" width=\"745\">\u57fa\u4e8eflash\u7684\u6587\u4ef6\u4e0a\u4f20\u63d2\u4ef6\uff0c\u5176\u7279\u70b9\u5982\u4e0b\uff1a<br \/>\n1\u3001\u57fa\u4e8eflash\u4f20\u8f93\uff0c\u517c\u5bb9\u6027\u5f3a\uff1b<br \/>\n2\u3001\u652f\u6301\u540c\u65f6\u4e0a\u4f20\u591a\u4e2a\u6587\u4ef6\uff1b<br \/>\n3\u3001\u652f\u6301\u8fdb\u5ea6\u6761\u663e\u793a\uff1b<br \/>\n4\u3001\u652f\u6301\u591a\u79cd\u4e8b\u4ef6\u56de\u8c03\u673a\u5236;<br \/>\n5\u3001\u652f\u6301\u8bbe\u5b9a\u4e0a\u4f20\u6307\u5b9a\u7684\u6587\u4ef6\u683c\u5f0f\uff1b<br \/>\n6\u3001\u652f\u6301\u8bbe\u5b9a\u4e0a\u4f20\u6587\u4ef6\u7684\u5927\u5c0f\u9650\u5236\uff1b<br \/>\n7\u3001\u5e38\u7528\u4e8e\u9700\u8981\u6821\u9a8c\u6587\u4ef6\u5927\u5c0f\u3001\u6587\u4ef6\u683c\u5f0f\u7b49\u6587\u4ef6\u4e0a\u4f20\u7684\u60c5\u5f62<\/td>\n<\/tr>\n<tr>\n<td rowspan=\"2\">\u4f7f\u7528\u8bf4\u660e<\/td>\n<td colspan=\"3\" width=\"745\"><\/td>\n<\/tr>\n<tr>\n<td colspan=\"3\"><a href=\"http:\/\/www.cnblogs.com\/henw\/archive\/2012\/03\/22\/2411592.html\">API\u8be6\u7ec6\u8bf4\u660e<\/a><\/td>\n<\/tr>\n<tr>\n<td>\u4f8b\u5b50<\/td>\n<td colspan=\"3\" width=\"745\">\\blog\\uploader.jsp<br \/>\n&lt;link href=&#8221;\/js\/swfupload\/default_wev8.css&#8221; rel=&#8221;stylesheet&#8221; type=&#8221;text\/css&#8221; \/&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/js\/swfupload\/swfupload_wev8.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/js\/swfupload\/swfupload.queue_wev8.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/js\/swfupload\/fileprogress_wev8.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;script type=&#8221;text\/javascript&#8221; src=&#8221;\/js\/swfupload\/handlers_wev8.js&#8221;&gt;&lt;\/script&gt;<\/td>\n<\/tr>\n<tr>\n<td>\u7ec4\u4ef6\u521d\u59cb\u5316\u53c2\u6570<\/td>\n<td>\u662f\u5426\u5fc5\u987b<\/td>\n<td>\u7c7b\u578b<\/td>\n<td>\u63cf\u8ff0<\/td>\n<\/tr>\n<tr>\n<td width=\"214\">upload_url<\/td>\n<td width=\"95\">\u662f<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td width=\"561\">\u201c\/upload.jsp\u201d, \u5904\u7406\u4e0a\u4f20\u8bf7\u6c42\u7684\u670d\u52a1\u5668\u7aef\u811a\u672cURL<br \/>\npost_params : {<br \/>\n\u201cpost_param_name_1\u2033 : \u201cpost_param_value_1\u2033,<br \/>\n\u201cpost_param_name_2\u2033 : \u201cpost_param_value_2\u2033,<br \/>\n\u201cpost_param_name_n\u201d : \u201cpost_param_value_n\u201d<br \/>\n},<\/td>\n<\/tr>\n<tr>\n<td width=\"214\">file_types<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201c*.jpg;*.gif\u201d, \u5141\u8bb8\u4e0a\u4f20\u7684\u6587\u4ef6\u7c7b\u578b<\/td>\n<\/tr>\n<tr>\n<td>file_types_description<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201cWeb Image Files\u201d, \u6587\u4ef6\u7c7b\u578b\u63cf\u8ff0<\/td>\n<\/tr>\n<tr>\n<td>file_size_limit<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>1024\u2033, \u4e0a\u4f20\u6587\u4ef6\u4f53\u79ef\u4e0a\u9650\uff0c\u5355\u4f4dMB<\/td>\n<\/tr>\n<tr>\n<td>file_upload_limit<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td width=\"561\">10, \u9650\u5b9a\u7528\u6237\u4e00\u6b21\u6027\u6700\u591a\u4e0a\u4f20\u591a\u5c11\u4e2a\u6587\u4ef6\uff0c\u5728\u4e0a\u4f20\u8fc7\u7a0b\u4e2d\uff0c\u8be5\u6570\u5b57\u4f1a\u7d2f\u52a0\uff0c<br \/>\n\u5982\u679c\u8bbe\u7f6e\u4e3a\u201c0\u201d\uff0c\u5219\u8868\u793a\u6ca1\u6709\u9650\u5236<\/td>\n<\/tr>\n<tr>\n<td>file_queue_limit<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>2, \u4e0a\u4f20\u961f\u5217\u6570\u91cf\u9650\u5236\uff0c\u8be5\u9879\u901a\u5e38\u4e0d\u9700\u8bbe\u7f6e\uff0c\u4f1a\u6839\u636efile_upload_limit\u81ea\u52a8\u8d4b\u503c<\/td>\n<\/tr>\n<tr>\n<td>flash_url<\/td>\n<td width=\"95\">\u662f<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201c\/js\/swfupload\/swfupload.swf\u201d, Flash\u63a7\u4ef6\u7684URL<\/td>\n<\/tr>\n<tr>\n<td>flash_width<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201c1px\u201d,<\/td>\n<\/tr>\n<tr>\n<td>flash_height<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201c1px\u201d,<\/td>\n<\/tr>\n<tr>\n<td>flash_color<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u201c#FFFFFF\u201d,<\/td>\n<\/tr>\n<tr>\n<td>debug<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u9ed8\u8ba4\u4e3afalse, \u662f\u5426\u663e\u793a\u8c03\u8bd5\u4fe1\u606f\uff0c\u5f53\u4e3atrue\u65f6\u542f\u7528\u8c03\u8bd5\u6a21\u5f0f<\/td>\n<\/tr>\n<tr>\n<td>swfupload_loaded_handle<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>swfupload_loaded_function, \u5f53Flash\u63a7\u4ef6\u6210\u529f\u52a0\u8f7d\u540e\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>file_dialog_start_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>file_dialog_start_function, \u5f53\u6587\u4ef6\u9009\u53d6\u5bf9\u8bdd\u6846\u5f39\u51fa\u524d\u51fa\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>file_queued_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>file_queued_function,\u5f53\u6587\u4ef6\u961f\u5217\u5b8c\u6210\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td width=\"214\">file_queue_error<br \/>\n_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>file_queue_error_function,\u5f53\u6587\u4ef6\u961f\u5217\u51fa\u9519\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td width=\"214\">file_dialog_complete<br \/>\n_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>file_dialog_complete_function, \u5f53\u6587\u4ef6\u9009\u53d6\u5bf9\u8bdd\u6846\u5173\u95ed\u540e\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>upload_start_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>upload_start_function, \u5f00\u59cb\u4e0a\u4f20\u6587\u4ef6\u524d\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>upload_progress_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>upload_progress_function,\u5f53\u6587\u4ef6\u6b63\u5728\u4e0a\u4f20\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>upload_error_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>\u00a0upload_error_function,\u5f53\u6587\u4ef6\u4e0a\u4f20\u51fa\u9519\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>upload_success_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>upload_success_function, \u6587\u4ef6\u4e0a\u4f20\u6210\u529f\u540e\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>upload_complete_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>upload_complete_function,\u5f53\u6587\u4ef6\u4e0a\u4f20\u5b8c\u6210\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<tr>\n<td>debug_handler<\/td>\n<td width=\"95\">\u5426<\/td>\n<td width=\"89\">\u00a0string<\/td>\n<td>debug_function,\u5f53\u542f\u7528\u8c03\u8bd5\u6a21\u5f0f\u65f6\u89e6\u53d1\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"https:\/\/www.hefeiyu.com\">\u8d6b\u975e\u57df<\/a> &raquo; <a href=\"https:\/\/www.hefeiyu.com\/?p=1826\">ecology\u5f00\u53d1\u4e4b\u4e0a\u4f20\u7ec4\u4ef6<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u7ec4\u4ef6 \u4e0a\u4f20\u7ec4\u4ef6\uff1aswfupload \u529f\u80fd\u8bf4\u660e \u57fa\u4e8eflash\u7684\u6587\u4ef6\u4e0a\u4f20\u63d2\u4ef6\uff0c\u5176\u7279\u70b9\u5982\u4e0b\uff1a 1\u3001\u57fa\u4e8eflash\u4f20\u8f93\uff0c\u517c\u5bb9\u6027\u5f3a\uff1b 2\u3001\u652f\u6301\u540c\u65f6\u4e0a\u4f20\u591a\u4e2a\u6587\u4ef6\uff1b 3\u3001\u652f\u6301\u8fdb\u5ea6\u6761\u663e\u793a\uff1b 4\u3001\u652f\u6301\u591a\u79cd\u4e8b\u4ef6\u56de\u8c03\u673a\u5236; 5\u3001\u652f\u6301\u8bbe\u5b9a\u4e0a\u4f20\u6307\u5b9a\u7684\u6587\u4ef6\u683c\u5f0f\uff1b 6\u3001\u652f\u6301\u8bbe\u5b9a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[82,598,589],"class_list":["post-1826","post","type-post","status-publish","format-standard","hentry","category-code","tag-82","tag-598","tag-589"],"_links":{"self":[{"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/posts\/1826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1826"}],"version-history":[{"count":1,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/posts\/1826\/revisions"}],"predecessor-version":[{"id":1827,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=\/wp\/v2\/posts\/1826\/revisions\/1827"}],"wp:attachment":[{"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hefeiyu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}